add {bool}

This commit is contained in:
jakeogh 2024-05-14 20:12:49 -07:00
parent 743ed06ef7
commit 1adea35e4c
1 changed files with 1 additions and 1 deletions

View File

@ -3342,7 +3342,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
('browseEndpoint', 'canonicalBaseUrl'), ('commandMetadata', 'webCommandMetadata', 'url'))),
expected_type=str, get_all=False))
author_is_uploader = traverse_obj(comment_entity_payload, ('author', 'isCreator'))
author_is_uploader = traverse_obj(comment_entity_payload, ('author', 'isCreator', {bool}))
if author_is_uploader is not None:
info['author_is_uploader'] = author_is_uploader