From 5aa2124736858790dd1fc9af9343cd527aeb9f7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Tue, 16 Sep 2025 10:04:18 +0200 Subject: [PATCH] [twitter] fix all quoted Tweets being marked as 'deleted' (#8225) due to "KeyError: 'screen_name'" when trying to access the author's name fixes regression introduced in 5747dbf00cfad1651b846486a2870b75411f566e --- gallery_dl/extractor/twitter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gallery_dl/extractor/twitter.py b/gallery_dl/extractor/twitter.py index ed3cfaed..e6c84d1c 100644 --- a/gallery_dl/extractor/twitter.py +++ b/gallery_dl/extractor/twitter.py @@ -2070,7 +2070,7 @@ class TwitterAPI(): quoted = tweet["quoted_status_result"]["result"] quoted["legacy"]["quoted_by"] = ( tweet["core"]["user_results"]["result"] - ["legacy"]["screen_name"]) + ["core"]["screen_name"]) quoted["legacy"]["quoted_by_id_str"] = tweet["rest_id"] quoted["sortIndex"] = entry.get("sortIndex")