Introduction
Introduction Statistics Contact Development Disclaimer Help
Add gopher taz.de support. - annna - Annna the nice friendly bot.
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6…
Log
Files
Refs
Tags
README
---
commit 0a1a666b42a58f49e67b29d945466a33ce737ed2
parent 78870ed2cd2b42613c1dc623c7038ba7a68e733d
Author: Annna Robert-Houdin <[email protected]>
Date: Fri, 20 Dec 2024 17:56:20 +0100
Add gopher taz.de support.
Diffstat:
M annna-message-common | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
---
diff --git a/annna-message-common b/annna-message-common
@@ -131,7 +131,6 @@ case "${text}" in
nuris="$(printf '%s' "${uri}" | sed 's/blob/raw/')"
nocuri=0
;;
-
*imgur.com/*)
nuris="$(youtube-dl -g "${uri}")" || nuris=""
;;
@@ -198,6 +197,15 @@ case "${text}" in
fi
nocuri=0
;;
+ *taz.de*)
+ newsid="$(printf '%s\n' "${uri}" | sed 's,.*\(![0-9]*\).*,\1,'…
+ if [ -n "${newsid}" ];
+ then
+ urititle="$(curl-grabtitle "${uri}")"
+ nuris="gopher://taz.de/1/${newsid}"
+ nocuri=1
+ fi
+ ;;
*twitter.com*)
#ninstance="$(nitter-instance | sed 's,\.,\\\.,g')"
#nuri="$(printf "%s\n" "${uri}" | sed "s;\(mobile\.\)\{0,1\}tw…
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.