From 89bed013741a776506f60380b7fd89d27d0710b4 Mon Sep 17 00:00:00 2001 From: Simon <35427372+bbilly1@users.noreply.github.com> Date: Fri, 23 Jun 2023 01:08:42 +0700 Subject: [PATCH] [extractor/youtube] Fix comments' `is_favorited` (#7390) Authored by: bbilly1 Closes #7389 --- yt_dlp/extractor/youtube.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yt_dlp/extractor/youtube.py b/yt_dlp/extractor/youtube.py index f1c8df141..a0d0a601a 100644 --- a/yt_dlp/extractor/youtube.py +++ b/yt_dlp/extractor/youtube.py @@ -3356,7 +3356,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor): info['author_is_uploader'] = author_is_uploader comment_abr = traverse_obj( - comment_renderer, ('actionsButtons', 'commentActionButtonsRenderer'), expected_type=dict) + comment_renderer, ('actionButtons', 'commentActionButtonsRenderer'), expected_type=dict) if comment_abr is not None: info['is_favorited'] = 'creatorHeart' in comment_abr