Nitter is dead. Go back to raw twitter. - annna - Annna the nice friendly bot. HTML git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/annna/ DIR Log DIR Files DIR Refs DIR Tags DIR README --- DIR commit 2d53c34b080859576ce36328f08851a13fcb10da DIR parent 1aa0be08fbb09606f10b1a6aeefec8d83db744ba HTML Author: Annna Robert-Houdin <annna@bitreich.org> Date: Thu, 15 Feb 2024 20:21:15 +0100 Nitter is dead. Go back to raw twitter. Diffstat: M annna-message-common | 12 ++++++------ D modules/nitter-instances/gen-insta… | 10 ---------- D modules/nitter-instances/nitter.wi… | 1 - D nitter-instance | 9 --------- 4 files changed, 6 insertions(+), 26 deletions(-) --- DIR diff --git a/annna-message-common b/annna-message-common @@ -175,12 +175,12 @@ case "${text}" in nocuri=0 ;; *twitter.com*) - ninstance="$(nitter-instance | sed 's,\.,\\\.,g')" - nuri="$(printf "%s\n" "${uri}" | sed "s;\(mobile\.\)\{0,1\}twitter\.com;${ninstance};")" - fetch-uri "${nuri}" > "${tmpf}" - urititle="$(curl-grabtitle "${nuri}")" - suri="$(screenshot-paste "${nuri}")" - nuris="nitter: ${nuri}" + #ninstance="$(nitter-instance | sed 's,\.,\\\.,g')" + #nuri="$(printf "%s\n" "${uri}" | sed "s;\(mobile\.\)\{0,1\}twitter\.com;${ninstance};")" + fetch-uri "${uri}" > "${tmpf}" + urititle="$(curl-grabtitle "${uri}")" + suri="$(screenshot-paste "${uri}")" + #nuris="nitter: ${nuri}" nocuri=0 ;; *en.wikipedia.org/wiki*) DIR diff --git a/modules/nitter-instances/gen-instances.sh b/modules/nitter-instances/gen-instances.sh @@ -1,10 +0,0 @@ -#!/bin/sh - -cat nitter.wiki/Instances.md \ - | grep '^| .* | \[.*' \ - | cut -d '|' -f 3 \ - | sed 's, \[\(.*\)\].*,\1,' \ - > instances.txt - -printf "Now edit instances.txt for working ones.\n" - DIR diff --git a/modules/nitter-instances/nitter.wiki b/modules/nitter-instances/nitter.wiki @@ -1 +0,0 @@ -Subproject commit 1a44445418129c8305fb6b8285345ecf47cb5fac DIR diff --git a/nitter-instance b/nitter-instance @@ -1,9 +0,0 @@ -#!/bin/sh -# -# Do no forget to regularily check out the wiki git for updates -# and run gen-instances.sh for a new instances file. -# - -nitterinstances="/home/annna/bin/modules/nitter-instances/instances.txt" -shuf -n 1 "${nitterinstances}" -