mirror of
https://github.com/mikf/gallery-dl.git
synced 2024-11-22 10:42:34 +01:00
[twitter] set 'retweet_id' for original retweets (#1481)
This commit is contained in:
parent
5323c1c73a
commit
414bdc95a3
@ -484,8 +484,9 @@ class TwitterTweetExtractor(TwitterExtractor):
|
||||
"options": (("retweets", "original"),),
|
||||
"count": 2,
|
||||
"keyword": {
|
||||
"tweet_id": 1296296016002547713,
|
||||
"date" : "dt:2020-08-20 04:00:28",
|
||||
"tweet_id" : 1296296016002547713,
|
||||
"retweet_id": 1296296016002547713,
|
||||
"date" : "dt:2020-08-20 04:00:28",
|
||||
},
|
||||
}),
|
||||
# all Tweets from a conversation (#1319)
|
||||
@ -806,6 +807,7 @@ class TwitterAPI():
|
||||
if original_retweets:
|
||||
if not retweet:
|
||||
continue
|
||||
retweet["retweeted_status_id_str"] = retweet["id_str"]
|
||||
retweet["_retweet_id_str"] = tweet["id_str"]
|
||||
tweet = retweet
|
||||
elif retweet:
|
||||
|
Loading…
Reference in New Issue
Block a user