[youtube_live_chat] Fix URL

Bug introduced by 82e3f6ebda

:ci skip dl
This commit is contained in:
pukkandan
2021-02-03 02:22:27 +05:30
parent b60419c51a
commit 9c3fe2ef80
2 changed files with 7 additions and 4 deletions

View File

@@ -3404,7 +3404,7 @@ class YoutubeTabIE(YoutubeBaseInfoExtractor):
uploader['uploader_url'] = urljoin(
'https://www.youtube.com/',
try_get(owner, lambda x: x['navigationEndpoint']['browseEndpoint']['canonicalBaseUrl'], compat_str))
return {k:v for k, v in uploader.items() if v is not None}
return {k: v for k, v in uploader.items() if v is not None}
def _extract_from_tabs(self, item_id, webpage, data, tabs, identity_token):
playlist_id = title = description = channel_url = channel_name = channel_id = None