Add xkcd comic support. - 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 3a7931d0296f037df5eeaa81a311c376445ee0d7 DIR parent 2a821ad200698ad3912fe7cec0bbb0a69ba22e12 HTML Author: Annna Robert-Houdin <annna@bitreich.org> Date: Wed, 1 Sep 2021 12:04:39 +0200 Add xkcd comic support. Diffstat: M annna-message-common | 3 +++ 1 file changed, 3 insertions(+), 0 deletions(-) --- DIR diff --git a/annna-message-common b/annna-message-common @@ -88,6 +88,9 @@ case "${text}" in nuris="" fi ;; + *xkcd.com/*) + nuris="$(xkcd-uri "${uri}")" + ;; *imdb.com/title/*) movietitle="$(imdb2gopherbay "${uri}" | sed 's, ,+,g')" if [ -n "${movietitle}" ];