Created
April 5, 2012 17:14
-
-
Save usure/2312591 to your computer and use it in GitHub Desktop.
4chan thread archiver
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 | |
$tnumbertnumber=`echo $1 | cut -c32-` | |
mkdir $tnumber | |
cd $tnumber | |
while : | |
do | |
wget -e robots=off -E -nd -nc -np -r -k -H -D images.4chan.org,thumbs.4chan.org $1 | |
cp $tnumber.html index.html | |
sleep 10 | |
done | |
#backup | |
#echo "thread number?" | |
#read tnumber#mkdir |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment