diff options
author | Peter | 2020-09-29 23:59:57 +0100 |
---|---|---|
committer | Peter | 2020-09-29 23:59:57 +0100 |
commit | 8a8ee085cf34cf815b2e25bf75f5df497d18ad7b (patch) | |
tree | bd8894739e9420ea6fbadf6e9a788f3e10c787ea /.local/bin/comicviewer | |
parent | 1944abd74f81173defbfdacc4a1c2cf38c27a910 (diff) | |
download | dotfiles-8a8ee085cf34cf815b2e25bf75f5df497d18ad7b.tar.gz dotfiles-8a8ee085cf34cf815b2e25bf75f5df497d18ad7b.tar.bz2 dotfiles-8a8ee085cf34cf815b2e25bf75f5df497d18ad7b.zip |
Couple more additions
Diffstat (limited to '.local/bin/comicviewer')
-rwxr-xr-x | .local/bin/comicviewer | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/.local/bin/comicviewer b/.local/bin/comicviewer index 9cefa85..b828b36 100755 --- a/.local/bin/comicviewer +++ b/.local/bin/comicviewer @@ -12,5 +12,7 @@ elif [[ $input =~ explosm.net ]]; then grab | awk -F\" '/main-comic/ {print $4}' elif [[ $input =~ extrafabulouscomics.com ]]; then grab | tr "\"" "\n" | awk -F\? '/uploads/ && /?/ {print $1}' | viewer elif [[ $input =~ loadingartist.com ]]; then grab | awk -F\" '/uploads/ {print $8}' | viewer elif [[ $input =~ PoorlyDrawnLines ]]; then grab | awk -F"src" '/wp-block-image/ {print $2}' | cut -f2 -d\" | viewer +elif [[ $input =~ satwcomic ]]; then grab | awk -F\" '/art/ && /core/ {print $4}' | viewer +elif [[ $input =~ theoatmeal.com ]]; then grab | awk -F\" '/comics/ && /img src/ {print $2}' | viewer elif [[ $input =~ toothpastefordinner.com ]]; then grab | awk -F\" '/max-width/ {print $4}' | viewer else echo "Unsupported Website."; fi |