Skip to content

Commit

Permalink
[twitter] fix retweet filter (#2212)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikf committed Jan 21, 2022
1 parent cb43f77 commit 54ef874
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gallery_dl/extractor/twitter.py
Original file line number Diff line number Diff line change
Expand Up @@ -1136,6 +1136,8 @@ def _pagination_tweets(self, endpoint, variables, path=None):
retweet["_retweet_id_str"] = tweet["rest_id"]
tweet = retweet
elif retweet:
legacy["retweeted_status_id_str"] = \
retweet["rest_id"]
legacy["author"] = \
retweet["core"]["user_results"]["result"]
if "extended_entities" in retweet["legacy"] and \
Expand Down

0 comments on commit 54ef874

Please sign in to comment.