[twitter] support '"search-results": "media"' results (#8613 #8635)

https://github.com/mikf/gallery-dl/issues/8635#issuecomment-3615267040
This commit is contained in:
Mike Fährmann
2025-12-05 17:49:39 +01:00
parent 5da200945b
commit 80878c1501

View File

@@ -2005,6 +2005,7 @@ class TwitterAPI():
if esw("tweet-"):
tweets.append(entry)
elif esw(("profile-grid-",
"search-grid-",
"communities-grid-")):
if "content" in entry:
tweets.extend(entry["content"]["items"])