[extractor/youtube] Fix comments' is_favorited
(#7390)
Authored by: bbilly1 Closes #7389
This commit is contained in:
parent
de4cf77ec1
commit
89bed01374
1 changed files with 1 additions and 1 deletions
|
@ -3356,7 +3356,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
|
||||||
info['author_is_uploader'] = author_is_uploader
|
info['author_is_uploader'] = author_is_uploader
|
||||||
|
|
||||||
comment_abr = traverse_obj(
|
comment_abr = traverse_obj(
|
||||||
comment_renderer, ('actionsButtons', 'commentActionButtonsRenderer'), expected_type=dict)
|
comment_renderer, ('actionButtons', 'commentActionButtonsRenderer'), expected_type=dict)
|
||||||
if comment_abr is not None:
|
if comment_abr is not None:
|
||||||
info['is_favorited'] = 'creatorHeart' in comment_abr
|
info['is_favorited'] = 'creatorHeart' in comment_abr
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue