diff options
Diffstat (limited to '.scripts/4chgettofi')
-rwxr-xr-x | .scripts/4chgettofi | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/.scripts/4chgettofi b/.scripts/4chgettofi index 9e16e0c..61fb2b0 100755 --- a/.scripts/4chgettofi +++ b/.scripts/4chgettofi @@ -18,7 +18,6 @@ threadopt=$(echo -e "Yes\nNo" | tofi --prompt-text "Do you have the thread link [[ "$threadopt" == "Yes" ]] && thread=$(wl-paste | grep -oP '(?<=thread\/)\d+') || thread=$(tofi --prompt-text "Enter thread no.: (#######) " --require-match false </dev/null) wget -P "$endir" -nd -r -l 1 -H -D i.4cdn.org,is2.4chan.org -A png,jpg,jpeg -R '*s.*' "https://boards.4chan$nel.org/$option/thread/$thread" -#wget -P "$parentdir/$dir" -nd -r -l 1 -H -D i.4cdn.org,is2.4chan.org -A png,jpg,jpeg -R '*s.*' "https://boards.4chan$nel.org/$option/thread/$thread" viewopt=$(echo -e "Yes\nNo" | tofi --prompt-text "Do you wish to view the downloaded papes now?") [[ $viewopt == Yes ]] && imv -fr $endir |