|
|
|
@ -3338,13 +3338,9 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
|
|
|
|
|
|
|
|
|
|
info['author_url'] = urljoin(
|
|
|
|
|
'https://www.youtube.com',
|
|
|
|
|
traverse_obj(comment_entity_payload,
|
|
|
|
|
('author',
|
|
|
|
|
'channelCommand',
|
|
|
|
|
'innertubeCommand',
|
|
|
|
|
'browseEndpoint',
|
|
|
|
|
'canonicalBaseUrl'),
|
|
|
|
|
expected_type=str, get_all=False))
|
|
|
|
|
traverse_obj(comment_entity_payload, ('author', 'channelCommand', 'innertubeCommand', (
|
|
|
|
|
('browseEndpoint', 'canonicalBaseUrl'), ('commandMetadata', 'webCommandMetadata', 'url'))),
|
|
|
|
|
expected_type=str, get_all=False))
|
|
|
|
|
|
|
|
|
|
author_is_uploader = traverse_obj(comment_entity_payload, ('author', 'isCreator'))
|
|
|
|
|
if author_is_uploader is not None:
|
|
|
|
|