Introduction
Introduction Statistics Contact Development Disclaimer Help
Simplify x.com/twitter handling. - annna - Annna the nice friendly bot.
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6…
Log
Files
Refs
Tags
README
---
commit cd1277d12dd260724b5d9c02fb4e1f91964c9c94
parent 0fc90826ef0edb1f1184a545a468cd4af3343c9a
Author: Annna Robert-Houdin <[email protected]>
Date: Wed, 19 Nov 2025 10:49:53 +0100
Simplify x.com/twitter handling.
Diffstat:
M annna-message-common | 15 ++-------------
1 file changed, 2 insertions(+), 13 deletions(-)
---
diff --git a/annna-message-common b/annna-message-common
@@ -226,19 +226,8 @@ case "${IRC_PRIVMSG_TEXT}" in
fi;;
*x.com/*/status/*)
tid="$(printf "%s\n" "${uri}" | sed 's,.*status/\([0-9]*\)$,\1…
- if [ -n "${tid}" ];
- then
- nuris="https://twitter-thread.com/pdf/${tid}"
- nocuri=1
- fi;;
- *twitter.com*)
- #ninstance="$(nitter-instance | sed 's,\.,\\\.,g')"
- #nuri="$(printf "%s\n" "${uri}" | sed "s;\(mobile\.\)\{0,1\}tw…
- fetch-uri "${uri}" > "${tmpf}"
- urititle="$(curl-grabtitle "${uri}")"
- #suri="$(screenshot-paste "${uri}")"
- #nuris="nitter: ${nuri}"
- nocuri=0;;
+ # X.com/Twitter sucks and hates users.
+ nocuri=1;;
*.wikipedia.org/wiki/*)
if ! regeximatch "$uri" '\.(jpg,bmp,gif,png,tiff,avi,mp4,webm,…
then
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.