Help getting pics from 163.com

Discuss how to download pictures from websites using PicaLoader.
(NO adult contents and advertisement please.)
Post Reply
evilmechy
Posts: 5
Joined: Fri Sep 22, 2006 11:34 pm

Help getting pics from 163.com

Post 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.
User avatar
KoalaBear
Posts: 325
Joined: Wed Sep 24, 2003 5:27 pm

Post 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.
Attachments
163.plt
(9.93 KiB) Downloaded 37 times
evilmechy
Posts: 5
Joined: Fri Sep 22, 2006 11:34 pm

Post by evilmechy »

This is what happens

Image
Could it be because I'm using Vista? =/ But for other sites it works..
User avatar
KoalaBear
Posts: 325
Joined: Wed Sep 24, 2003 5:27 pm

Post by KoalaBear »

works well on my vista.
you can post your project file here or leave me a private message :wink:
Attachments
163.jpg
163.jpg (132.72 KiB) Viewed 529 times
User avatar
KoalaBear
Posts: 325
Joined: Wed Sep 24, 2003 5:27 pm

Post 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;
Attachments
163.plt
another way
(9.93 KiB) Downloaded 37 times
Post Reply