summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRemita Amine <[email protected]>2021-03-27 19:11:41 +0100
committerRemita Amine <[email protected]>2021-03-27 19:11:41 +0100
commit49fc0a567febda65709cc5154ff046684a3b8427 (patch)
tree6f8b55c3ac0ed42e6fef356ca0592a5cc714f914
parentcc777dcaa0f3331626f33a7e4c61d804c43f4b5c (diff)
downloadyoutube-dl-49fc0a567febda65709cc5154ff046684a3b8427.tar.gz
youtube-dl-49fc0a567febda65709cc5154ff046684a3b8427.zip
[youtube] fix video's channel extraction(closes #28562)
-rw-r--r--youtube_dl/extractor/youtube.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/youtube.py b/youtube_dl/extractor/youtube.py
index faf3a344e..e48c5a7d2 100644
--- 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'],