Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 04-17-2006, 06:50 AM   #1
LQ Newbie
Registered: Mar 2006
Posts: 2

Rep: Reputation: 0
Wget - download images from any location

Basically I want to download my blogspot blog.

If I use the -p option, page requisites will not be downloaded from other hosts (as it must do here - etc.), so I have to turn on -H (span hosts) - but if I do that things get out of control.

So I need either the p option to download requisites even from other hosts or the H option to span hosts only when downloading requisites (images etc.)

This feature exists in other software (such as Offline Explorer for windows - it's called "download images from any location"), but I need to know how can this be done using wget (or other linux program if wget can't do it).

Old 04-17-2006, 04:43 PM   #2
LQ Guru
Registered: Oct 2004
Distribution: Arch
Posts: 5,028
Blog Entries: 6

Rep: Reputation: 1798Reputation: 1798Reputation: 1798Reputation: 1798Reputation: 1798Reputation: 1798Reputation: 1798Reputation: 1798Reputation: 1798Reputation: 1798Reputation: 1798

Is the -r switch what you are wanting?
Old 04-17-2006, 04:57 PM   #3
LQ Newbie
Registered: Mar 2006
Posts: 2

Original Poster
Rep: Reputation: 0
no, the r switch simply tells wget to recursively look for new pages to download - i'm using this switch anyway.
the problem is that I have to use p to download page images, but p does not span hosts (images are on another host different from that which the htmls reside on); if I use H (span hosts) then I will have to limit the recursion level (to prevent downloading the whole internet) but I can't do that as pages can be at any level in my blog.
you can of course allow only certain hosts, but I wanted a general solution to a simple problem: simply download images from any location.
Old 04-18-2006, 05:22 AM   #4
LQ Newbie
Registered: Jul 2005
Distribution: Ubuntu
Posts: 6

Rep: Reputation: 0
Can you restict it to a wildcard for the server, something like * perhaps?


manpage, wget

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
wget and slackware download ivanatora Slackware 4 01-12-2008 06:12 AM
wget will not download full webpage with images hedpe Linux - Software 2 02-16-2006 12:46 AM
WGET: How do I cancel a download? PionexUser Linux - Software 3 12-06-2005 01:30 PM
wget wont download ?? paul_mat Linux - Software 1 11-01-2005 01:45 AM
what to do with 5 parts of wget download Bruce Hill Linux - Software 2 09-11-2003 11:47 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:47 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration