flickr免費帳號坑爹的只有200張照片的限額,用用就到限制了,準備換個相冊。可上面的照片一個一個下下來就麻煩了,正好想用用scrapy,現學現賣,寫了一個。代碼在
https://github.com/largetalk/flickr_photo_crawl
使用命令是:
scrapy crawl flickr -a username=largetalk -o scraped_data.json -t json
完了在當前目錄下有個 .photos 目錄,裏面是圖片。
==========================================================
flckr改版,後新寫了一個,代碼在https://github.com/largetalk/new_flickr_photo_crawl