Skip to content

Instantly share code, notes, and snippets.

@jackprice
Created July 10, 2013 14:13
Show Gist options
  • Save jackprice/5966632 to your computer and use it in GitHub Desktop.
Save jackprice/5966632 to your computer and use it in GitHub Desktop.
Download all images from a 4chan thread. Simples.
#!/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