URI: 
       Handle youtube shorts URLs. - 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 697b46f31de9a6c9e922dbf0a173baf89defac39
   DIR parent 0bb8b11ba2b2f83bb71322a82c7e913b6e45c2ee
  HTML Author: Julian Schweinsberg <pazz0@0xfa.de>
       Date:   Wed,  9 Aug 2023 11:18:45 +0200
       
       Handle youtube shorts URLs.
       
       Signed-off-by: Annna Robert-Houdin <annna@bitreich.org>
       
       Diffstat:
         M annna-message-common                |       3 ++-
       
       1 file changed, 2 insertions(+), 1 deletion(-)
       ---
   DIR diff --git a/annna-message-common b/annna-message-common
       @@ -177,10 +177,11 @@ case "${text}" in
                        fi
                        ;;
                *youtube.com/*|*youtu.be/*)
       -                if [ -z "${uri##*youtu.be/*}" ] || [ -z "${uri##*/watch?v=*}" ] || [ -z "${uri##*/embed/*}" ];
       +                if [ -z "${uri##*youtu.be/*}" ] || [ -z "${uri##*/watch?v=*}" ] || [ -z "${uri##*/embed/*}" ] || [ -z "${uri##*/shorts/*}" ];
                        then
                                ytid="${uri#https*://*/watch?v=}"
                                ytid="${ytid##*embed/}"
       +                        ytid="${ytid##*shorts/}"
                                ytid="${ytid##*youtu.be/}"
                                ytid="${ytid%%\?*}"
                                ytid="${ytid%%&*}"