Skip to content

Commit

Permalink
[twitter] support 'profile-conversation' entries (#3938)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikf committed Apr 21, 2023
1 parent aaf58a1 commit 1d505b3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions gallery_dl/extractor/twitter.py
Original file line number Diff line number Diff line change
Expand Up @@ -1570,9 +1570,9 @@ def _pagination_tweets(self, endpoint, variables,

if esw("tweet-"):
tweets.append(entry)
elif esw("homeConversation-"):
tweets.extend(entry["content"]["items"])
elif esw("conversationthread-"):
elif esw(("homeConversation-",
"profile-conversation-",
"conversationthread-")):
tweets.extend(entry["content"]["items"])
elif esw("tombstone-"):
item = entry["content"]["itemContent"]
Expand Down

0 comments on commit 1d505b3

Please sign in to comment.