Page 1 of 1
flickr.com .any way to download from this site..help please
Posted: Sun Oct 14, 2007 10:40 pm
by roopam005
www.flickr.com/photos/tags/.....
picaloader downloadd lots & lots of webpages from this site but not a single photo.......can be any missing setting??? please help.
Posted: Sun Oct 21, 2007 1:50 am
by KoalaBear
Now PL v1.53 works.
For example, we want download all pics under tag "baby", so we look at
http://www.flickr.com/photos/tags/baby with IE, wooo it have 1380000+ pics, so we just download the first 5 pages to have a look:
Start URL:
http://www.flickr.com/photos/tags/baby/?page=[1-5]
We only want the jpg files, so select
All JPG Pictures from Picture filter profile.
And the pic's page we want just at the index page's next level, so select
This page and 1 level(s) from Followed links.
We found the all pic's page just like this:
http://www.flickr.com/photos/obsession88/1662464712/, all with /(lage number)/ at tail, so we add Page URL Include Filters:
/\d+/$
The thumbnail pics with _t.jpg or _s.jpg at tail, and we needn't site's icons, so add Picture URL Exclude Filters:
_t\.jpg$;_s\.jpg$;icons/
OK.
Posted: Mon Jan 28, 2008 4:24 pm
by roopam005
koala bear this downloads small sized images only... waht if i want to downlaod original sized images..???
Posted: Mon Feb 04, 2008 5:00 am
by KoalaBear
It's not "small" size pics, it "Medium" size pics, Flickr show you medium size pics as default.
If you also wanna download the "Large" pics, you can try to change Page URL Include Filters to /\d+/$;/\d+/sizes/o/$;/\d+/sizes/l/$
and change Followed links to This page and 2 levels
check attached pic.
Posted: Wed Feb 06, 2008 4:43 pm
by roopam0052
some mistake is there... its still downloading imgages with resolution of 500x333 pixels while original images are 1600x1200 and large sized are of 1024x800 like... if it is happening with other people also, it need some correction..... koalabear kindly have a look over it
Posted: Fri Feb 29, 2008 5:27 pm
by roopam005
kindly help me solving my query
Posted: Sun Mar 02, 2008 5:01 pm
by KoalaBear
seems like it's a impossible mission for a auto downloader, but now, we have HTML Parser Script:)
For only download the biggest pics:
Start URL:http://www.flickr.com/photos/tags/baby/?page=[1-5]
HTML Parser Script:
if (HTML.Level==0) then
for u in string.gmatch(HTML.Content,'pc_t"><a href=%b""') do
local url='http://www.flickr.com' .. string.sub(u,16,-2);
AddLink(url,HTML.Url,HTML.Title,'',HTML.TaskID,1);
end;
else
if (HTML.Level==1) then
local s1,e1=string.find(HTML.Content,'button_bar_notext"><a href=%b""');
if (s1 and e1) then
local url2='http://www.flickr.com' .. string.sub(HTML.Content,s1+28,e1-1);
AddLink(url2,HTML.Url,HTML.Title,'',HTML.TaskID,2);
else
local s2,e2=string.find(HTML.Content,'class="photoImgDiv"><img src=%b""');
if (s2 and e2) then
local url3=string.sub(HTML.Content,s2+30,e2-1);
AddLink(url3,HTML.Url,HTML.Title,'',HTML.TaskID,1);
end;
end;
else
if (HTML.Level==2) then
if (string.sub(HTML.Url,-3) == '/o/') then
local s3,e3=string.find(HTML.Content,'<p><img src=%b""');
if (s3 and e3) then
local url4=string.sub(HTML.Content,s3+13,e3-1);
AddLink(url4,HTML.Url,HTML.Title,'',HTML.TaskID,2);
end;
else
local s4,e4=string.find(HTML.Content,'/o/"');
if (s4 and e4) then
local url5=string.sub(HTML.Url,1,-4) .. '/o/';
AddLink(url5,HTML.Url,HTML.Title,'',HTML.TaskID,2);
else
local s5,e5=string.find(HTML.Content,'<p><img src=%b""');
if (s5 and e5) then
local url6=string.sub(HTML.Content,s5+13,e5-1);
AddLink(url6,HTML.Url,HTML.Title,'',HTML.TaskID,2);
end;
end;
end;
end;
end;
end;
are this settings correct ???
Posted: Sun Mar 16, 2008 6:27 pm
by roopam005
koalabear.. suppose i want to downlaod largest pics of japan tag....are these settings correct..???
Posted: Mon Mar 17, 2008 9:21 pm
by KoalaBear
please download the attached flickr.plt file in my privous post, then select main menu->Task->Import Task(s) to import it into your project, then change the start URL.
Posted: Tue Mar 18, 2008 4:55 pm
by roopam005
no koala ..... no luck with this also... i am doing some mistake certainly.... please check my settings.. please....
i did what u told....
a started a new project....
initially.. selected...standard project.. and original filename...
i didn't craeted new task yet..
i imported fickr.plt file...
now i changed the starting URL...
i did not put anything in page url--exclude/include or picture URL exclude/ include boxes....
so my settings are likel this:
now pls tell me where is mistake....
Posted: Tue Mar 18, 2008 8:29 pm
by KoalaBear
the site structure changed, so we have to change our script to this:
if (HTML.Level==0) then
for u in string.gmatch(HTML.Content,'pc_t"><a href=%b""') do
local url='http://www.flickr.com' .. string.sub(u,16,-2);
AddLink(url,HTML.Url,HTML.Title,'',HTML.TaskID,1);
end;
else
if (HTML.Level==1) then
local s1,e1=string.find(HTML.Content,'page_p.zoomUrl = %b\'\'');
if (s1 and e1) then
local url2='http://www.flickr.com' .. string.sub(HTML.Content,s1+18,e1-1);
AddLink(url2,HTML.Url,HTML.Title,'',HTML.TaskID,2);
else
local s2,e2=string.find(HTML.Content,'class="photoImgDiv"><img src=%b""');
if (s2 and e2) then
local url3=string.sub(HTML.Content,s2+30,e2-1);
AddLink(url3,HTML.Url,HTML.Title,'',HTML.TaskID,1);
end;
end;
else
if (HTML.Level==2) then
if (string.sub(HTML.Url,-3) == '/o/') then
local s3,e3=string.find(HTML.Content,'<p><img src=%b""');
if (s3 and e3) then
local url4=string.sub(HTML.Content,s3+13,e3-1);
AddLink(url4,HTML.Url,HTML.Title,'',HTML.TaskID,2);
end;
else
local s4,e4=string.find(HTML.Content,'/o/"');
if (s4 and e4) then
local url5=string.sub(HTML.Url,1,-4) .. '/o/';
AddLink(url5,HTML.Url,HTML.Title,'',HTML.TaskID,2);
else
local s5,e5=string.find(HTML.Content,'<p><img src=%b""');
if (s5 and e5) then
local url6=string.sub(HTML.Content,s5+13,e5-1);
AddLink(url6,HTML.Url,HTML.Title,'',HTML.TaskID,2);
end;
end;
end;
end;
end;
end;
I attached a new plt file, you can delete the old task and import this one.
Posted: Thu Mar 20, 2008 4:38 pm
by roopam005
phewwwwwwwwww
finally it worked.....
thanks o lot to koalabear
Posted: Tue Jul 22, 2008 1:45 am
by KoalaBear
All about download original size pics of Flickr migrated to:
Flickr Downloader