This commit is contained in:
mrbesen 2020-09-07 19:31:18 +02:00
parent a21710dd3c
commit 445e2b5721
Signed by: MrBesen
GPG Key ID: 596B2350DCD67504
1 changed files with 4 additions and 0 deletions

4
4chandl.sh Executable file
View File

@ -0,0 +1,4 @@
#!/bin/bash
#download a 4chan thread -> requires curl & wget
url="$1"
curl -s $url | sed 's/>/>\n/g' | grep -e "i\.4cdn\.org" -e "is2\.4chan\.org" | sed -r 's#(^.*\/\/)##g' | cut -d'"' -f1 | wget -nc -i - ; wget -nc --adjust-extension --convert-links $url