LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-28-2009, 07:56 PM   #1
MikeQ
LQ Newbie
 
Registered: Jun 2009
Posts: 18

Rep: Reputation: 0
wget images


What I'm trying to do is wget images, however, i'm not sure how to do it 100% right...

what ive got is a index.html page that has images(thmubs) that link to the full size images. how do i grab the full size images?

Example of links on the page:
<a href="images/*random numbers*.jpg" target="_blank"><img border=0 width=112 height=150 src="images/tn_*random numbers*.jpg" style="position:relative;left:3px;top:3px" /></a>

i tried
wget -A.jpg -r -l1 -np URLHERE

but only got the thumbs.
 
Old 07-28-2009, 08:45 PM   #2
neonsignal
Senior Member
 
Registered: Jan 2005
Location: Melbourne, Australia
Distribution: Debian Jessie (Fluxbox WM)
Posts: 1,387
Blog Entries: 52

Rep: Reputation: 355Reputation: 355Reputation: 355Reputation: 355
Quote:
wget -A.jpg -r -l1 -np URLHERE
but only got the thumbs.
You only got the thumbnails because these are embedded using image tags, whereas the full size images are linked (and you have limited the recursion to a single level using '-l1').
 
  


Reply


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
Grabbing multiple unknown images from website with wget? Cyberman Programming 5 06-23-2011 10:17 PM
wget searching and downloading images on a website ? memo007 Linux - Software 10 11-13-2008 11:46 AM
Advanced wget with google images Darek84CJ Linux - General 1 10-23-2006 10:19 AM
Wget - download images from any location andreic Linux - Software 3 04-18-2006 05:22 AM
wget will not download full webpage with images hedpe Linux - Software 2 02-16-2006 12:46 AM


All times are GMT -5. The time now is 01:02 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration