Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3855946
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T17:51:16+00:00 2026-05-19T17:51:16+00:00

because of bandwith problem, i’d like to block all images while using cURL on

  • 0

because of bandwith problem, i’d like to block all images while using cURL on a remote url. Let me give a quick example: A page has 200 jpg images, i wanna get that page without 200 images with cURL.

  • 1 1 Answer
  • 1 View
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T17:51:16+00:00Added an answer on May 19, 2026 at 5:51 pm

    When cURLing a URL, you’re only receiving what is at that URL, which is likely just an HTML document.
    cURL does not automatically download all 200 images that are referred to in the HTML document, because cURL does not care about HTML. Quite the contrary; if you wanted to download all 200 images, you’d have to parse the HTML by hand and make further cURL request for each individual image.

    Example from the command line:

    $ curl -i www.w3.org
    HTTP/1.1 200 OK
    Date: Mon, 07 Feb 2011 02:46:36 GMT
    Server: Apache/2
    Content-Location: Home.html
    Vary: negotiate,accept,Accept-Encoding
    TCN: choice
    Last-Modified: Tue, 01 Feb 2011 20:42:28 GMT
    ETag: "74f2-49b3e92157500;89-3f26bd17a2f00"
    Accept-Ranges: bytes
    Content-Length: 29938
    Cache-Control: max-age=600
    Expires: Mon, 07 Feb 2011 02:56:36 GMT
    P3P: policyref="http://www.w3.org/2001/05/P3P/p3p.xml"
    Connection: close
    Content-Type: text/html; charset=utf-8
    
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <!-- Generated from data/head-home.php, ../../smarty/{head.tpl} -->
    <head>
    <title>World Wide Web Consortium (W3C)</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link rel="Help" href="/Help/" />
    <link rel="stylesheet" href="/2008/site/css/minimum" type="text/css" media="handheld, all" />
    <style type="text/css" media="print, screen and (min-width: 481px)">
    /*<![CDATA[*/
    @import url("/2008/site/css/advanced");
    /*]]>*/
    </style>
    <link href="/2008/site/css/minimum" rel="stylesheet" type="text/css" media="handheld, only screen and (max-device-width: 480px)" />
    <meta name="viewport" content="width=device-width" />
    <link rel="stylesheet" href="/2008/site/css/print" type="text/css" media="print" />
    <link rel="shortcut icon" href="/2008/site/images/favicon.ico" type="image/x-icon" />
    <meta name="description" content="The World Wide Web Consortium (W3C) is an international community where Member organizations, a full-time staff, and the public work together to develop Web standards." />
    <link rel="alternate" type="application/atom+xml" title="W3C News" href="/News/atom.xml" />
    </head>
    <body id="www-w3-org" class="w3c_public w3c_home">
    <div id="w3c_container">
    <!-- Generated from data/mast-home.php, ../../smarty/{mast.tpl} -->
    <div id="w3c_mast"><!-- #w3c_mast / Page top header -->
    <h1 class="logo"><a tabindex="2" accesskey="1" href="/"><img src="/2008/site/images/logo-w3c-mobile-lg" width="90" height="53" alt="W3C" /></a> <span class="alt-logo">W3C</span></h1>
    <div id="w3c_nav">
    
    ...
    

    That’s all a cURL request gets. There’s one image in there: <img src="/2008/site/images/logo-w3c-mobile-lg" width="90" height="53" alt="W3C" />. That’s all you’re getting of it, you’re not getting the image itself.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Because data from file look like this: line 1 is name (first last), next
Here is the problem: I have a Silverlight application where we would like to
I am streaming a live video(.mjpg) using UIWebView like: [liveVideoPlayer loadRequest:urlRequest]; where liveVideoPlayer is
I am serializing a class like this into JSON using Flexjson: public class Item
Because shells other than ksh do not support pass-by-reference, how can multiple arrays be
Because my CSS3 animation uses over 50% of CPU in Chrome Browser 21.0 on
because when I use the function getUser () do not get the correct id?
Because it takes me a lot of time to integrate the Sherlock Action Bar
Because of min time betwwen update it display the location update after 1 sec
Because I've made .cpp files and then transferred them into .h files, the only

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.