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
# Downloads the first 100 pages of images from SUBREDDIT | |
for I in `seq 1 100`; do wget -q "http://imgur.com/r/SUBREDDIT/page/$I" -O - | grep '"post"' | grep class | cut -d\" -f 2 | while read ID; do echo "Downloading $ID.jpg"; wget -q -c "http://i.imgur.com/$ID.jpg"; done; done |
NewerOlder