Skip to content

Commit

Permalink
[extractor/youtube] Fix comments' is_favorited (#7390)
Browse files Browse the repository at this point in the history
Authored by: bbilly1
Closes #7389
  • Loading branch information
bbilly1 committed Jun 22, 2023
1 parent de4cf77 commit 89bed01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yt_dlp/extractor/youtube.py
Expand Up @@ -3356,7 +3356,7 @@ def _extract_comment(self, comment_renderer, parent=None):
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

Expand Down

0 comments on commit 89bed01

Please sign in to comment.