scripts

misc scripts and tools
git clone git://git.2f30.org/scripts
Log | Files | Refs

commit 5218ed32986b0b887b5be030b3a81a7cb9f00ae4
parent cbc773b157b46faaf81387c77282926aeeb7c87b
Author: sin <sin@2f30.org>
Date:   Sat,  6 Jul 2013 15:22:38 +0100

Don't exit if we get 404

Diffstat:
M4chandownload.sh | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/4chandownload.sh b/4chandownload.sh @@ -15,7 +15,7 @@ pullthread() { wget -O ${tmp} "$1" if [ ! $? -eq 0 ]; then rm ${tmp} ${tmp2} - exit 1 + return fi egrep '//images.4chan.org/[a-z0-9]+/src/([0-9]*).(jpg|png|gif)' ${tmp} -o | uniq > ${tmp2} @@ -28,7 +28,6 @@ pullthread() { } echo "4chan downloader" -echo "Downloading until canceled or 404'd" while :; do for arg in "$@"; do