Remove non-working imgur parsing. - annna - Annna the nice friendly bot. | |
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
--- | |
commit da8e08a4ae67e37f37cb23b5aaf9ebe4e24e3b2f | |
parent b49765faaacf5cb8b729690c76aebc4261c5d1fa | |
Author: Annna Robert-Houdin <[email protected]> | |
Date: Fri, 23 Jul 2021 20:26:43 +0200 | |
Remove non-working imgur parsing. | |
Diffstat: | |
M annna-message-common | 3 --- | |
1 file changed, 0 insertions(+), 3 deletions(-) | |
--- | |
diff --git a/annna-message-common b/annna-message-common | |
@@ -80,9 +80,6 @@ case "${text}" in | |
nuris="$(printf '%s' "${uri}" | sed 's/blob/raw/')" | |
nocuri=0 | |
;; | |
- *imgur.com/*) | |
- nuris=$(printf '%s' "${uri}" | sed 's@https\{0,1\}://[… | |
- ;; | |
*lichess.org/????????|*lichess.org/????????/|*lichess.org/????… | |
nuris="$(printf "%s\n" "${uri}" \ | |
| sed 's,https://lichess.org\(/[^ ]*\)$,\1,; s… |