Introduction
Introduction Statistics Contact Development Disclaimer Help
Fix plain text youtube URL thingies - annna - Annna the nice friendly bot.
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6…
Log
Files
Refs
Tags
README
---
commit 97de978b5f71c8b33c0c847984c17595291f2ec1
parent cfd2e67314c51c4346ae51d3720ef73433ddcf61
Author: Julian Schweinsberg <[email protected]>
Date: Wed, 27 Nov 2024 20:42:54 +0100
Fix plain text youtube URL thingies
Signed-off-by: Annna Robert-Houdin <[email protected]>
Diffstat:
M annna-message-common | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/annna-message-common b/annna-message-common
@@ -218,7 +218,7 @@ case "${text}" in
*youtube.com/*|*youtu.be/*)
if [ -z "${uri##*youtu.be/*}" ] || [ -z "${uri##*/watch?v=*}" …
then
- ytid="${uri#https*://*/watch?v=}"
+ ytid="${uri#http*://*/watch?v=}"
ytid="${ytid##*embed/}"
ytid="${ytid##*shorts/}"
ytid="${ytid##*youtu.be/}"
You are viewing proxied material from bitreich.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.