Ignore retweets

This commit is contained in:
Felix Ableitner 2019-11-30 23:17:17 +01:00
parent a1bca36a16
commit 885959d3e1

View file

@ -72,6 +72,10 @@ for t in reversed(d.entries[0:5]):
print("ERROR: First Login Failed!") print("ERROR: First Login Failed!")
sys.exit(1) sys.exit(1)
if t.author != '(%s)' % twitter:
# skip retweets
continue
c = t.title c = t.title
toot_media = [] toot_media = []
# get the pictures... # get the pictures...