diff options
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 |