Remove RT line from tweet
This commit is contained in:
parent
4b32b5de2f
commit
6e62a96562
1 changed files with 2 additions and 2 deletions
|
@ -72,8 +72,8 @@ for t in reversed(d.entries):
|
||||||
|
|
||||||
#h = BeautifulSoup(t.summary_detail.value, "html.parser")
|
#h = BeautifulSoup(t.summary_detail.value, "html.parser")
|
||||||
c = t.title
|
c = t.title
|
||||||
if t.author != '(%s)' % twitter:
|
# if t.author != '(%s)' % twitter:
|
||||||
c = ("RT %s\n" % t.author[1:-1]) + c
|
# c = ("RT %s\n" % t.author[1:-1]) + c
|
||||||
toot_media = []
|
toot_media = []
|
||||||
# get the pictures...
|
# get the pictures...
|
||||||
for p in re.finditer(r"https://pbs.twimg.com/[^ \xa0\"]*", t.summary):
|
for p in re.finditer(r"https://pbs.twimg.com/[^ \xa0\"]*", t.summary):
|
||||||
|
|
Loading…
Reference in a new issue