Add nitter replace. Screenshot now from nitter, since twitter sucks. - 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 2de5bd3ff5ff760a58dd9211efd6904c151b3866 DIR parent 79e15a537b78539badd5860d9be45c84906e1c9b HTML Author: Annna Robert-Houdin <annna@bitreich.org> Date: Sun, 19 Apr 2020 22:26:01 +0200 Add nitter replace. Screenshot now from nitter, since twitter sucks. Thanks bin, for the hint. Diffstat: M annna-start-services | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) --- DIR diff --git a/annna-start-services b/annna-start-services @@ -124,9 +124,12 @@ then annna-say -c "#bitreich-en" "HTML title: ${urititle}" fi else + nurl="$(printf "%s\n" "${uri}" | sed 's,twitter\.com,nitter\.net,')" + annna-say -c '#bitreich-en' "nitter: ${nurl}" + case "${uri}" in *twitter.com*) - spurl="$(screenshot-paste "${uri}")" + spurl="$(screenshot-paste "${nurl}")" ;; *) spurl=""