Introduction
Introduction Statistics Contact Development Disclaimer Help
Get forgottenweapons video link. - annna - Annna the nice friendly bot.
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6…
Log
Files
Refs
Tags
README
---
commit 738fe32144c11085af506b996a931c95edd63e36
parent 2bb172e94b0121c21f4295759d52cf2d7ed428b9
Author: eidolon <?>
Date: Wed, 16 Oct 2024 11:46:12 -0400
Get forgottenweapons video link.
Signed-off-by: Annna Robert-Houdin <[email protected]>
Diffstat:
M annna-message-common | 4 ++++
1 file changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/annna-message-common b/annna-message-common
@@ -164,6 +164,10 @@ case "${text}" in
nuris="text only: ${nuri}"
fi
;;
+ *www.forgottenweapons.com/*)
+ resp=$(curl -sgfm 5 "$uri" | sed -n '/<meta name="description"…
+ [ -n "$resp" ] && nuris="video: ytdl://${resp##*/}"
+ ;;
*www.wsj.com/*|*www.ft.com/*|*www.nytimes.com/*)
resp=$(unset -v PROXY; curl -A "$(http-user-agent)" -Igsm 10 -…
respcode="${resp%%,*}"
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.