flickr.com .any way to download from this site..help please
flickr.com .any way to download from this site..help please
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.
picaloader downloadd lots & lots of webpages from this site but not a single photo.......can be any missing setting??? please help.
roopam
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.
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.
- Attachments
-
- Baby
- baby.jpg (64.24 KiB) Viewed 1770 times
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.
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.
- Attachments
-
- flikr.jpg (63.86 KiB) Viewed 1464 times
-
- Posts: 1
- Joined: Wed Feb 06, 2008 4:34 pm
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;
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;
- Attachments
-
- flickr.plt
- click main menu->Task->Import Tasks to import this task to your own project.
- (9.93 KiB) Downloaded 50 times
are this settings correct ???
koalabear.. suppose i want to downlaod largest pics of japan tag....are these settings correct..???
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....
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....
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.
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.
- Attachments
-
- flickr.plt
- (9.93 KiB) Downloaded 63 times