소스 검색

show retweets: RT xxxx

master
cquest 7 년 전
부모
커밋
ecbbf79a9a
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. +2
    -1
      tootbot.py

+ 2
- 1
tootbot.py 파일 보기

@@ -70,9 +70,10 @@ for t in reversed(d.entries):
print("ERROR: First Login Failed!")
sys.exit(1)


#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
toot_media = []
# get the pictures...
for p in re.finditer(r"https://pbs.twimg.com/[^ \xa0\"]*", t.summary):


불러오는 중...
취소
저장