Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 07-23-2014, 11:58 AM   #1
LQ Newbie
Registered: Jul 2014
Posts: 1

Rep: Reputation: Disabled
Command to download from the gallery with thumbnails

For example :-

The above link leads to a site with thumbnails, clicking which loads the full sized image. Now, the full size images are also embedded in a site that ends with '.aspx.'

So I need the app or code to first scan the thumbnails, then go to the site which has the embedded full sized image and then download it.

I hope someone could help.

PS: I just moved from Windows, so I don't have any apps or software that didn't come along with Ubuntu 14.04. I think from the terminal I have downloaded wget (or else it came along with the OS.) Anyway, I had used it once (tried to) for the same task in the question but I don't know what commands to use.

Last edited by colucix; 07-23-2014 at 12:02 PM. Reason: Removed URL tags
Old 07-23-2014, 12:56 PM   #2
LQ Guru
Registered: Mar 2004
Distribution: Slackware
Posts: 5,396

Rep: Reputation: 410Reputation: 410Reputation: 410Reputation: 410Reputation: 410
Hello, the difference between the thunmb and the big image are a "t" in name, that helps

Basic command would curl the file, then get the links and replace thunmb names

curl | perl -ne 's/.*src="(.*gallery.*)t\.jpg".*/$1\.jpg/ and print' > links.txt;
wget -i links.txt

Last edited by keefaz; 07-23-2014 at 01:01 PM.
1 members found this post helpful.


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
Download through Command Prompt venu5b8 Linux - Newbie 5 03-23-2012 01:49 PM
download from command line nate11000 Linux - Newbie 4 05-26-2006 05:35 PM
command to download the files in command mode. bruse Solaris / OpenSolaris 3 01-12-2006 09:10 AM
digiKam shows thumbnails, but can't download headly21 Linux - Software 4 10-07-2005 10:28 PM
Deleting thumbnails from /root/thumbnails directory moxieman99 Linux - Newbie 3 10-19-2004 04:45 PM > Forums > Linux Forums > Linux - Newbie

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