This commit is contained in:
codl 2017-08-14 22:57:30 +02:00
parent 59c278b3dc
commit c32332d07c
No known key found for this signature in database
GPG Key ID: 6CD7C8891ED1233A
1 changed files with 2 additions and 0 deletions

View File

@ -144,6 +144,8 @@ def refresh_posts(posts):
return posts
t = get_twitter_for_acc(posts[0].author)
if not t:
raise Exception('shit idk. twitter says no')
tweets = t.statuses.lookup(_id=",".join((post.twitter_id for post in posts)),
trim_user = True, tweet_mode = 'extended')
refreshed_posts = list()