From e7cb73486340ea2f8f47db4415a53c7e034c2397 Mon Sep 17 00:00:00 2001 From: Peter Date: Fri, 19 Apr 2024 16:43:01 +0100 Subject: Ignore youtube-dl in processing script --- .local/bin/comicviewer | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.local/bin') diff --git a/.local/bin/comicviewer b/.local/bin/comicviewer index 9eafc6d..c8be713 100755 --- a/.local/bin/comicviewer +++ b/.local/bin/comicviewer @@ -4,7 +4,7 @@ function _curl() { curl -L --silent -A \"Mozilla\" "$@" ; } function _view() { imv -f - ; } function grab() { _curl "$1" | tr "\"" "\n" ; } -if [[ $1 =~ youtube.com ]]; then mpv --fullscreen --volume=100 "$@" +if [[ $1 =~ youtube.com ]]; then mpv --ytdl=no --fullscreen --volume=100 "$@" elif [[ $1 =~ arcaderage.co ]]; then _curl "$(grab "$@" | awk -F"?" '/uploads/ {print $1;exit}')" | _view elif [[ $1 =~ Buttersafe ]]; then _curl "$(grab "$@" | awk '/comics/')" | _view elif [[ $1 =~ commitstrip.com ]]; then _curl "$(grab "$@" | awk '/uploads/ && !/Template/')" | _view -- cgit v1.2.3