Commit ef2fd4bf authored by Valo's avatar Valo
Browse files

delete thumbnails (for now)

parent 942db2a1
......@@ -6,7 +6,8 @@ case "$@" in
(*'4chan.org'*) DIRNAME=$(echo "$@" | sed -r 's/.+s\.(4chan).+g\/(.+)\/.+d\/(.+.)/\1\/\2\/\3/') ; wget -P "$DIRNAME" -nd -r -l 1 -H -D i.4cdn.org -A png,gif,jpg,jpeg,webm "$@" ;;
(*'8ch.net'*) DIRNAME=$(echo "$@" | sed -r 's/.+\/(8ch).+(\/.+\/).+\/(.+)\..+/\1an\2\3/') ; wget -P "$DIRNAME" -nd -r -l 1 -H -D media.8ch.net -A png,gif,jpg,jpeg,webm "$@" ;;
esac
rm -f $DIRNAME/*s\.* #delete all thumbnails
exit 0
#* TODO remove thumbnails and other junk
#* TODO skip thumbnails and other junk (to save bandwidth and time)
#* TODO use funcs
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment