summaryrefslogtreecommitdiffstats
path: root/.local
diff options
context:
space:
mode:
Diffstat (limited to '.local')
-rwxr-xr-x.local/bin/comicviewer2
1 files changed, 1 insertions, 1 deletions
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