Allow npr.org without www. - annna - Annna the nice friendly bot.
 (HTM) git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/annna/
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) Tags
 (DIR) README
       ---
 (DIR) commit ef40fc696159ece2476d0b03a1e2960e059fc126
 (DIR) parent 29fe53e8b2cd02082d48df140be44737dcf544d4
 (HTM) Author: Annna Robert-Houdin <annna@bitreich.org>
       Date:   Sun, 17 Mar 2024 23:05:36 +0100
       
       Allow npr.org without www.
       
       Diffstat:
         M annna-message-common                |       2 +-
       
       1 file changed, 1 insertion(+), 1 deletion(-)
       ---
 (DIR) diff --git a/annna-message-common b/annna-message-common
       @@ -148,7 +148,7 @@ case "${text}" in
                        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,;')"
                        ;;
       -        *www.npr.org/*)
       +        *npr.org/*)
                        post="$(printf '%s\n' "${uri}" | sed -n 's@.*/\([0-9]\{10\}\)/.*$@\1@p')"
                        if [ -n "${post}" ];
                        then