Remove non-working imgur parsing. - annna - Annna the nice friendly bot. HTML git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/annna/ DIR Log DIR Files DIR Refs DIR Tags DIR README --- DIR commit da8e08a4ae67e37f37cb23b5aaf9ebe4e24e3b2f DIR parent b49765faaacf5cb8b729690c76aebc4261c5d1fa HTML Author: Annna Robert-Houdin <annna@bitreich.org> 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(-) --- DIR 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\}://[^/]\{1,\}/\([^/]\{1,\}\).*@https://i.imgur.com/\1.png@') - ;; *lichess.org/????????|*lichess.org/????????/|*lichess.org/????????/black|*lichess.org/????????/white) nuris="$(printf "%s\n" "${uri}" \ | sed 's,https://lichess.org\(/[^ ]*\)$,\1,; s,^/\([^/]*\)/black$,/black/\1,; s,/white,,; s,\(.*\),https://lichess1.org/game/export/gif\1.gif,;')"