diff --git a/yt_dlp/extractor/youtube.py b/yt_dlp/extractor/youtube.py index f1877b9f3..dc9bee955 100644 --- a/yt_dlp/extractor/youtube.py +++ b/yt_dlp/extractor/youtube.py @@ -3447,7 +3447,7 @@ def extract_thread(contents, entity_payloads): comment_thread_renderer = try_get(content, lambda x: x['commentThreadRenderer']) # old comment format - if entity_payloads is None: + if not entity_payloads: comment_renderer = get_first( (comment_thread_renderer, content), [['commentRenderer', ('comment', 'commentRenderer')]], expected_type=dict, default={})