I'll pay someone to build me a simple script that downloads images from this website.

fuzzybabybunny

Moderator<br>Digital & Video Cameras
Moderator
Jan 2, 2006
10,455
35
91
I have a lot of my photos on a website like this:

http://vt.realbiz360.com/Listing-1175959.html

I need to download my photos off of these websites because my hard drive is missing and I can't find my originals.

If you View Source on the page you'll see that you can view the photos directly with these kinds of links:

Code:
http://is.realbiz360.com:80/fif=/fpx2/g3//38843//20121110012919.Front__5.jpg.ivu&obj=iip,1.0&hei=700&cvt=jpeg

hei= stands for height and if you put in something like 2112 you'll be able to download the original photos.

So: I need someone to make me a script that can:

1. Take the Source Code as an input.
2. Find all instances of the code above.
3. Change hei=700 to hei=2112
4. Download the resulting image.
5. Rename the File to Front__5.jpg or whatever the file name happens to be.

Can anyone help? I need to get this done soon.
 

Elixer

Lifer
May 7, 2002
10,371
762
126
Untested, since I am not on a linux box right now (then again, I have no idea if you are using a linux box as well, if so, good, if not ... erm... good luck! ;)), but, should be sorta close to what you want, and you may need to edit some stuff as well. You also might have to add -o to the list of files that wget is getting to specify the filename you want.
Code:
cat Whatever.input | grep -i .jpg.ivu >outfile.txt
cat outfile.txt | sed 's/hei=700/hei=2112/' > file1
wget -i file1
 

SearchMaster

Diamond Member
Jun 6, 2002
7,791
114
106
Windows? I'd be happy to do something but an O/S specification would be nice.

Also, do you just want to pass in a single URL at a time or start at a page and hit every page in a tree?