Created
December 30, 2010 21:39
-
-
Save ruidlopes/760339 to your computer and use it in GitHub Desktop.
Scrap full resolution pictures from Flickr, given a file containing URLs pointing to each picture's "homepage"
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
awk '{print "wget -qO- " $1"sizes/o/ | grep allsizes-photo -A 2 | grep img | awk -F\\\" '"'"'{print $2}'"'"' | xargs wget -O " NR ".jpg"}' urls.txt | sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
the 47745d revision catches the cases where original files are blocked (i.e., allowed just to view large size)