Skip to content

Instantly share code, notes, and snippets.

@ruidlopes
Created December 30, 2010 21:39
Show Gist options
  • Save ruidlopes/760339 to your computer and use it in GitHub Desktop.
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"
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
@ruidlopes
Copy link
Author

the 47745d revision catches the cases where original files are blocked (i.e., allowed just to view large size)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment