ATuringtest 14 Posted December 6, 2019 Report Share Posted December 6, 2019 Has anyone successfully scraped flickr images ? Basically I want to search flicker and download the results page pictures in med res. Anyone done similar ? Quote Link to post Share on other sites
ATuringtest 14 Posted December 9, 2019 Author Report Share Posted December 9, 2019 I guess not ... onward and upwards lol Quote Link to post Share on other sites
LoWrIdErTJ - BotGuru 904 Posted December 10, 2019 Report Share Posted December 10, 2019 create folder($special folder("Desktop"),"flickr")navigate("https://www.flickr.com/search/?text=marketing","Wait")comment("Number of times to loop down page to show more results")loop(5) { run javascript("window.scrollTo(0,document.body.scrollHeight);") wait(5)}clear list(%images temp)add list to list(%images temp,$scrape attribute(<class="overlay">,"fullhref"),"Delete","Global")set(#var,1,"Global")loop($list total(%images temp)) { navigate($next list item(%images temp),"Wait") wait for element(<class="ui-icon-download">,10,"Appear") click(<class="ui-icon-download">,"Left Click","No") wait for element(<data-track="downloadSizeSelectedOriginal">,10,"Appear") set(#download url,$scrape attribute(<data-track="downloadSizeSelectedOriginal">,"fullhref"),"Global") download file(#download url,"{$special folder("Desktop")}\\flickr\\{#var}.jpg") increment(#var)} Quote Link to post Share on other sites
ATuringtest 14 Posted December 10, 2019 Author Report Share Posted December 10, 2019 This is an excellent start thank yo very much Quote Link to post Share on other sites
LoWrIdErTJ - BotGuru 904 Posted December 10, 2019 Report Share Posted December 10, 2019 yw Quote Link to post Share on other sites
ATuringtest 14 Posted December 10, 2019 Author Report Share Posted December 10, 2019 When I see code from someone like you it really helps me to brake down the individual elements, It helps me a lot. Quote Link to post Share on other sites
LoWrIdErTJ - BotGuru 904 Posted December 10, 2019 Report Share Posted December 10, 2019 Just paying it forward. I had a lot of help from the community when I got started Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.