[youtube] fix video's channel extraction(closes #28562)

This commit is contained in:
Remita Amine 2021-03-27 19:11:41 +01:00
parent cc777dcaa0
commit 49fc0a567f

View File

@ -1896,7 +1896,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
info['channel'] = get_text(try_get(
vsir,
lambda x: x['owner']['videoOwnerRenderer']['title'],
compat_str))
dict))
rows = try_get(
vsir,
lambda x: x['metadataRowContainer']['metadataRowContainerRenderer']['rows'],