Get sid from csdb.dk. - annna - Annna the nice friendly bot. | |
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
--- | |
commit 24b8c89f668e2a70246a6614ef80a53bdeac943e | |
parent 3359ed0e0727f9f5b9b40eb477a13755ab855dc0 | |
Author: eidolon <?> | |
Date: Wed, 13 Nov 2024 19:36:31 -0500 | |
Get sid from csdb.dk. | |
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 | |
;; | |
+ *csdb.dk/release/*) | |
+ sid=$(awk '/<a href="download\.php.*\.sid/ { match($0, /https:… | |
+ [ -n "$sid" ] && nuris="listen: $sid" | |
+ ;; | |
*www.forgottenweapons.com/*) | |
yturi=$(sed -n '/<meta name="description"/ s/.*\(https:\/\/you… | |
if [ -n "$yturi" ]; then |