From 801e001e9db936a3b40c1bb5958e40e54673a7c5 Mon Sep 17 00:00:00 2001 From: Felix Ableitner Date: Thu, 18 Jun 2020 18:17:19 +0200 Subject: [PATCH] Switch to nitter.net for rss feed --- README.md | 2 +- files/tootbot.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 67d7199..dada842 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ A small python 3.x script to replicate tweets on a mastodon account. The script only need mastodon login/pass to post toots. It can run on any server (does not have to be on the mastodon instance server). -It gets the tweets from RSS available at http://twitrss.me, then does some cleanup on the content: +It gets the tweets from RSS available at nitter.net, then does some cleanup on the content: - twitter tracking links (t.co) are dereferenced - twitter hosted pictures are retrieved and uploaded to mastodon diff --git a/files/tootbot.py b/files/tootbot.py index 2e67508..2281000 100755 --- a/files/tootbot.py +++ b/files/tootbot.py @@ -35,7 +35,7 @@ passwd = sys.argv[3] mastodon_api = None -d = feedparser.parse('http://twitrss.me/twitter_user_to_rss/?user='+twitter) +d = feedparser.parse('https://nitter.net/'+twitter+'/rss') for t in reversed(d.entries[0:5]): # check if this tweet has been processed