LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 01-26-2008, 10:01 PM   #1
The_Nerd
Member
 
Registered: Aug 2002
Distribution: Debian
Posts: 540

Rep: Reputation: 32
Wget usage


Hello! I am trying to use wget in conjunction google images to download wallpapers. I am having a problem however because wget wants to recurse all over the place... So, can anyone tell me how to tell wget to only recurse into certain links? For example: I want to download all images on national geographic: This link:

http://images.google.com/images?hl=e...h+Images&gbv=2

Can I tell wget to recurse like crazy, but only DOWNLOAD things from "animals.nationalgeographic.com"???
 
Old 01-27-2008, 02:21 AM   #2
jantman
Member
 
Registered: Nov 2005
Location: New Jersey, USA
Distribution: SuSE
Posts: 492

Rep: Reputation: 31
That's a job for a quick little script in whatever language you prefer - Perl, Python, or if you're hardcore, shell/grep/awk/whatever else.
 
Old 01-27-2008, 02:58 AM   #3
cyent
Member
 
Registered: Aug 2001
Location: ChristChurch New Zealand
Distribution: Ubuntu
Posts: 398

Rep: Reputation: 87
Wget selection...

Try this page in the manual...

http://www.informatik.uni-hamburg.de...et/wget_4.html

Else try batchdownload addon for firefox.

https://addons.mozilla.org/en-US/firefox/addon/3104
 
Old 01-29-2008, 07:18 AM   #4
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
All 10,700 of them? -- From your link:
"Images Results 1 - 20 of about 10,700 for site:animals.nationalgeographic.com"
 
Old 01-29-2008, 10:57 AM   #5
jantman
Member
 
Registered: Nov 2005
Location: New Jersey, USA
Distribution: SuSE
Posts: 492

Rep: Reputation: 31
I did something like this ta few years ago to mine images off of a site (for personal use only). I'd say that Python is the way to go, but I guess it's a personal thing. PM me if you want the script.
 
Old 01-29-2008, 12:27 PM   #6
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
Me, I use wget, often in a loop, to d/l; lynx -dump & curl to find structure.

OP, what are you trying to do?
 
  


Reply



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
X hangs after prolonged usage ... memory usage goes upto 195MB duryodhan Slackware 18 05-10-2007 06:16 PM
Complex usage of wget TenEighty Linux - Newbie 1 07-26-2006 01:47 AM
getting realtime info on memory usage-cpu and harddrive usage steering Linux - Newbie 5 03-03-2005 08:43 PM
Wget downloader usage linux_lover2005 Linux - Software 2 02-17-2005 02:24 AM
how to determine cpu usage, memory usage, I/O usage by a particular user logged on li rags2k Programming 4 08-21-2004 04:45 AM

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

All times are GMT -5. The time now is 09:15 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