Browse Source

Remove RT line from tweet

master
Felix Ableitner 4 years ago
parent
commit
6e62a96562
  1. 4
      tootbot.py

4
tootbot.py

@ -72,8 +72,8 @@ for t in reversed(d.entries):
#h = BeautifulSoup(t.summary_detail.value, "html.parser")
c = t.title
if t.author != '(%s)' % twitter:
c = ("RT %s\n" % t.author[1:-1]) + c
# if t.author != '(%s)' % twitter:
# c = ("RT %s\n" % t.author[1:-1]) + c
toot_media = []
# get the pictures...
for p in re.finditer(r"https://pbs.twimg.com/[^ \xa0\"]*", t.summary):

Loading…
Cancel
Save