[youtube] fix video's channel extraction(closes #28562)
authorRemita Amine <remitamine@gmail.com>
Sat, 27 Mar 2021 18:11:41 +0000 (19:11 +0100)
committerRemita Amine <remitamine@gmail.com>
Sat, 27 Mar 2021 18:11:41 +0000 (19:11 +0100)
youtube_dl/extractor/youtube.py

index faf3a344e92370790440d88c0b42877fc6d71cbe..e48c5a7d2efba4f9bede8893d7cfae0aac1b8ce5 100644 (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'],