Page 1 of 1

Help getting pics from 163.com

Posted: Wed Mar 19, 2008 4:14 pm
by evilmechy
I tried the method that was posted in another post but it doesn't work. It just downloads that page, but no picture or anything.

Link: http://photo.163.com/photos/shnoshiming/137662273/

Thank you.

Posted: Thu Mar 20, 2008 4:49 am
by KoalaBear
Start URL:http://photo.163.com/photos/shnoshiming/137662273/
Picture filter profile:All pictures except thumbnail
Page Location:Within current directory & deeper
Page URL Exclude Filters:secure-cn;#$
Picture URL Include Filters:/\d+\.jpg$

or import the attached .plt file.

Posted: Thu Mar 20, 2008 12:46 pm
by evilmechy
This is what happens

Image
Could it be because I'm using Vista? =/ But for other sites it works..

Posted: Thu Mar 20, 2008 1:24 pm
by KoalaBear
works well on my vista.
you can post your project file here or leave me a private message :wink:

Posted: Fri Mar 21, 2008 2:08 pm
by KoalaBear
or you can try another way: using HTML Parser Script of PicaLoader (it is the fatest way, but if the site change its structure, we must change our script):
Start URL:http://photo.163.com/photos/shnoshiming/137662273/
uncheck support J/VB/JavaScript
HTML Parser Script:

if (HTML.Level==0) then
local s,e=string.find(HTML.Url,'/photos/%l+/');
if (s and e) then
local uid=string.sub(HTML.Url,s+8,e-1);
local aid=string.sub(HTML.Url,e+1,-2);
local url='http://photo.163.com/js/photosinfo.php?user=' .. uid .. '&aid=' .. aid .. '&from=guest';
AddLink(url,HTML.Url,HTML.Title,'',HTML.TaskID,1);
end;
elseif (HTML.Level==1) then
local s,e=string.find(HTML.Content,'",%b""');
while (s and e) do
if (string.sub(HTML.Content,e+1,e+2) == '];' and string.sub(HTML.Content,s+3,s+6) == 'http') then
local url=string.sub(HTML.Content,s+3,e-1);
AddLink(url,HTML.Url,HTML.Title,'',HTML.TaskID,2);
end;
s,e=string.find(HTML.Content,'",%b""',e+1);
end;
end;