Add lichess 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 669612be75d5550f5e385930e61944bf6ee6cc6b DIR parent e728e68a3f23010795a73232ca3038dd1e8e8f20 HTML Author: Annna Robert-Houdin <annna@bitreich.org> Date: Tue, 18 May 2021 22:33:02 +0200 Add lichess 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 @@ -132,6 +132,9 @@ case "${text}" in nuris="text only: ${nuri}" fi ;; + *lichess.org/*) + nuris="https://lichess1.org/game/export/gif/${uri#https*://*/}.gif" + ;; *) mimetype="$(file -b --mime-type "${tmpf}")" case "${mimetype}" in