LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 04-17-2006, 05:50 AM   #1
andreic
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 - photos1.blogger.com 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).

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

Rep: Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826
http://linuxcommand.org/man_pages/wget1.html

Is the -r switch what you are wanting?

http://www.freebsd.org/cgi/man.cgi
 
Old 04-17-2006, 03:57 PM   #3
andreic
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, 04:22 AM   #4
maubp
LQ Newbie
 
Registered: Jul 2005
Distribution: Ubuntu
Posts: 6

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


Reply

Tags
manpage, wget



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 05:12 AM
wget will not download full webpage with images hedpe Linux - Software 2 02-15-2006 11:46 PM
WGET: How do I cancel a download? PionexUser Linux - Software 3 12-06-2005 12:30 PM
wget wont download ?? paul_mat Linux - Software 1 11-01-2005 12:45 AM
what to do with 5 parts of wget download Bruce Hill Linux - Software 2 09-11-2003 10:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:07 PM.

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