Add support for reading debian pastes in plaintext

This commit is contained in:
Nero 2021-05-07 16:05:23 +00:00
parent 59d2792867
commit c0136eb03e
1 changed files with 3 additions and 0 deletions

View File

@ -59,6 +59,9 @@ case "$url" in
https://pastebin.com/*)
url=https://pastebin.com/raw/${1##https://pastebin.com/}
;;
https://paste.debian.net/*)
url=https://paste.debian.net/plain/${1##https://paste.debian.net/}
;;
esac
# some urls have special handling