commit: 49fc0a567febda65709cc5154ff046684a3b8427
parent cc777dcaa0f3331626f33a7e4c61d804c43f4b5c
Author: Remita Amine <remitamine@gmail.com>
Date: Sat, 27 Mar 2021 19:11:41 +0100
[youtube] fix video's channel extraction(closes #28562)
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/youtube_dl/extractor/youtube.py b/youtube_dl/extractor/youtube.py
@@ -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'],