Page 1 of 1

batch download pics

Posted: Fri Aug 29, 2008 7:55 am
by andy666
Hi Bios,

How can i download the pics with those sequence.

http://mh.xindm.net/book2/y/yw/02/000001.jpg
http://mh.xindm.net/book2/y/yw/02/001002.jpg
http://mh.xindm.net/book2/y/yw/02/002003.jpg
...
...
http://mh.xindm.net/book2/y/yw/02/222223.jpg
http://mh.xindm.net/book2/y/yw/02/223224.jpg

Thanks.

I have tried set
http://mh.xindm.net/book2/y/yw/02/[000-223][001-224].jpg
however that maked 6xxxx URLs for download 224 pics.

Re: batch download pics

Posted: Wed Oct 08, 2008 2:06 pm
by KoalaBear
start URL: http://www.google.com
(or any other URL you can access)
HTML Parser Script:

if (HTML.Level==0) then
for i=0,223 do
url=string.format('http://mh.xindm.net/book2/y/yw/02/%03d%03d.jpg',i,i+1);
AddLink(url,HTML.Url,HTML.Title,'',HTML.TaskID,1);
end;
else
DefaultParser(HTML.Content, HTML.Url, HTML.Title, HTML.TaskID, HTML.Level);
end;