Created
July 10, 2013 14:13
-
-
Save jackprice/5966632 to your computer and use it in GitHub Desktop.
Download all images from a 4chan thread. Simples.
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
#!/bin/bash | |
if [ $# -ne 1]; then | |
echo Usage: | |
echo $0 [URL] | |
fi | |
wget -O - $1 | egrep -e "//images.4chan.org/s/src/[0-9]*.jpg" -o | while read u; do wget "http:"$u; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment