Add tv.brain.rip support. - annna - Annna the nice friendly bot. | |
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
--- | |
commit 14055892514d6d564f20248e0f8e834932112f6e | |
parent b223f2e89d301ea78386675712266b9da175c28c | |
Author: Annna Robert-Houdin <[email protected]> | |
Date: Fri, 5 May 2023 19:43:15 +0200 | |
Add tv.brain.rip support. | |
Diffstat: | |
M annna-message-common | 5 +++++ | |
1 file changed, 5 insertions(+), 0 deletions(-) | |
--- | |
diff --git a/annna-message-common b/annna-message-common | |
@@ -186,6 +186,11 @@ case "${text}" in | |
nuris="${nuris} ; metadata: gophers://codemadness.org/1/idiotb… | |
nocuri=1 | |
;; | |
+ *tv.brain.rip/???-???/*) | |
+ nuris="$(grep 'property="og:video:secure_url' < "${tmpf}" | se… | |
+ urititle="$(grep 'name="description' < "${tmpf}" | sed 's,.*co… | |
+ nocuri=1 | |
+ ;; | |
*) | |
mimetype="$(file -b --mime-type "${tmpf}")" | |
case "${mimetype}" in |