diff options
| author | 2025-03-15 18:05:22 -0400 | |
|---|---|---|
| committer | 2025-03-15 18:05:22 -0400 | |
| commit | 4d0259149eb03b21716dbde6174f36d65c57c66c (patch) | |
| tree | 1e314b7849c4be1683809426d563a69a8131c13d /gallery_dl/extractor/twitter.py | |
| parent | d178d764c9cc19aef1a5cf012e3ca4c3b957879f (diff) | |
| parent | 8026a3c45446030d7af524bfc487d3462c8114ef (diff) | |
Update upstream source from tag 'upstream/1.29.2'
Update to upstream version '1.29.2'
with Debian dir a3b673d57d2a397548e1a0eb8d7a7401e09e1234
Diffstat (limited to 'gallery_dl/extractor/twitter.py')
| -rw-r--r-- | gallery_dl/extractor/twitter.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gallery_dl/extractor/twitter.py b/gallery_dl/extractor/twitter.py index c391bad..8d90bc5 100644 --- a/gallery_dl/extractor/twitter.py +++ b/gallery_dl/extractor/twitter.py @@ -237,7 +237,7 @@ class TwitterExtractor(Extractor): def _extract_components(self, tweet, data, files): for component_id in data["components"]: com = data["component_objects"][component_id] - for conv in com["data"]["conversation_preview"]: + for conv in com["data"].get("conversation_preview") or (): for url in conv.get("mediaUrls") or (): files.append({"url": url}) |
