Please help with this site: http://www.fotkin.ru/

Discuss how to download pictures from websites using PicaLoader.
(NO adult contents and advertisement please.)
Post Reply
1-d
Posts: 24
Joined: Sat Feb 23, 2008 6:31 pm

Please help with this site: http://www.fotkin.ru/

Post by 1-d »

Hi, I came across this site the other day and wanted to put PicaLoader to the test.

The strating address is here:
http://www.fotkin.ru/albums/?genre=1&order=add

There are total of 106 pages with 15 thumbnails on each, and when you click on a thumb it takes you to 'preview' page where you click on the preview picture to get the full-size pic open.

My trouble is I can't get PicaLoader to get those fullsize pics no matter what combination of settings I've tried. I've gone so far as to get the preview pics but no further. The fullsize images are in the root of the site's /_imager/oPhoto/ directory but for some reason PicaLoader doesn't see it. The site does not require to login to see the pictures.

I would really appreciate any help on this.
User avatar
KoalaBear
Posts: 325
Joined: Wed Sep 24, 2003 5:27 pm

Post by KoalaBear »

Start URL:
http://www.fotkin.ru/albums/?genre=1&order=add&p=[1-106]
Page URL Include Filters:photo=\d+$
Picture URL Include Filters:/oPhoto/
Picture URL Exclude Filters:/preview/;/thumbs/
Attachments
Snipper.plt
Main menu->Task->Import Tasks
(9.93 KiB) Downloaded 30 times
1-d
Posts: 24
Joined: Sat Feb 23, 2008 6:31 pm

Post by 1-d »

Thank you for your help KB, but unfortunately it still doesn't work for me. :cry:

I tried running the task both ways, setting up a new task with your suggestions and then downloading & importing the task file. In either case PicaLoader did not grab one picture.

You seem to be the only hope I have, however... Could you look into this one more time, before I give up?
User avatar
KoalaBear
Posts: 325
Joined: Wed Sep 24, 2003 5:27 pm

Post by KoalaBear »

try another way: using HTML Parser Script:
Start URL:http://www.fotkin.ru/albums/?genre=1&order=add&p=[1-106]
HTML Parser Script:
if (HTML.Level==0) then
for u in string.gmatch(HTML.Content,'href=%b""') do
local s1,e1=string.find(u,'/albums/preview/%?photo=%d*');
if (s1 and e1) then
local url='http://www.fotkin.ru' .. string.sub(u,s1,e1);
AddLink(url,HTML.Url,HTML.Title,'',HTML.TaskID,1);
end;
end;
else
for u in string.gmatch(HTML.Content,'href=%b""') do
local s1,e1=string.find(u,'/_imager/oPhoto/.*%.jpg');
if (s1 and e1) then
local url='http://www.fotkin.ru' .. string.sub(u,s1,e1);
local title=HTML.Title;
local s2,e2=string.find(HTML.Content,'"PhotoTitle"%b><');
if (s2 and e2) then
title=string.sub(HTML.Content,s2+13,e2-1);
end;
AddLink(url,HTML.Url,title,'',HTML.TaskID,1);
end;
end;
end;
Attachments
snip_ex.plt
(9.93 KiB) Downloaded 34 times
1-d
Posts: 24
Joined: Sat Feb 23, 2008 6:31 pm

Post by 1-d »

Worked like a charm! Thank you KB, you are the man! :D
Post Reply