A feature-rich command-line audio/video downloader
[extractor/youtube] Define strict uploader metadata mapping (#6384)
coletdjnz7666b93604b9
diff --git a/yt_dlp/extractor/youtube.py b/yt_dlp/extractor/youtube.pyindex d6a55e9532..2b17751e5e 100644--- a/yt_dlp/extractor/youtube.py+++ b/yt_dlp/extractor/youtube.py@@ -458,6 +458,23 @@ class YoutubeBaseInfoExtractor(InfoExtractor):_IGNORED_WARNINGS = {'Unavailable videos will be hidden during playback'}+ _YT_HANDLE_RE = r'@[\w.-]{3,30}' # https://support.google.com/youtube/answer/11585688?hl=en+ _YT_CHANNEL_UCID_RE = r'UC[\w-]{22}'++ def ucid_or_none(self, ucid):+ return self._search_regex(rf'^({self._YT_CHANNEL_UCID_RE})$', ucid, 'UC-id', default=None)++ def handle_or_none(self, handle):+ return self._search_regex(rf'^({self._YT_HANDLE_RE})$', handle, '@-handle', default=None)++ def handle_from_url(self, url):+ return self._search_regex(rf'^(?:https?://(?:www\.)?youtube\.com)?/({self._YT_HANDLE_RE})',+ url, 'channel handle', default=None)++ def ucid_from_url(self, url):+ return self._search_regex(rf'^(?:https?://(?:www\.)?youtube\.com)?/({self._YT_CHANNEL_UCID_RE})',+ url, 'channel id', default=None)+@functools.cached_propertydef _preferred_lang(self):"""@@ -992,6 +1009,8 @@ class YoutubeBaseInfoExtractor(InfoExtractor):if not channel_id:channel_id = traverse_obj(reel_header_renderer, ('channelNavigationEndpoint', 'browseEndpoint', 'browseId'))+ channel_id = self.ucid_or_none(channel_id)+overlay_style = traverse_obj(renderer, ('thumbnailOverlays', ..., 'thumbnailOverlayTimeStatusRenderer', 'style'),get_all=False, expected_type=str)@@ -1233,9 +1252,6 @@ class YoutubeIE(YoutubeBaseInfoExtractor):'id': 'BaW_jenozKc','ext': 'mp4','title': 'youtube-dl test video "\'/\\ä↭𝕐',- 'uploader': 'Philipp Hagemeister',- 'uploader_id': 'phihag',- 'uploader_url': r're:https?://(?:www\.)?youtube\.com/user/phihag','channel': 'Philipp Hagemeister','channel_id': 'UCLqxVugv74EIW3VWh2NOa3Q','channel_url': r're:https?://(?:www\.)?youtube\.com/channel/UCLqxVugv74EIW3VWh2NOa3Q',@@ -1254,7 +1270,10 @@ class YoutubeIE(YoutubeBaseInfoExtractor):'start_time': 1,'end_time': 9,'comment_count': int,- 'channel_follower_count': int+ 'channel_follower_count': int,+ 'uploader': 'Philipp Hagemeister',+ 'uploader_url': 'https://www.youtube.com/@PhilippHagemeister',+ 'uploader_id': '@PhilippHagemeister',}},{@@ -1266,9 +1285,6 @@ class YoutubeIE(YoutubeBaseInfoExtractor):'upload_date': '20120608','title': 'Principal Sexually Assaults A Teacher - Episode 117 - 8th June 2012','description': 'md5:09b78bd971f1e3e289601dfba15ca4f7',- 'uploader': 'SET India',- 'uploader_id': 'setindia',- 'uploader_url': r're:https?://(?:www\.)?youtube\.com/user/setindia','age_limit': 18,},'skip': 'Private video',@@ -1280,9 +1296,6 @@ class YoutubeIE(YoutubeBaseInfoExtractor):'id': 'BaW_jenozKc','ext': 'mp4','title': 'youtube-dl test video "\'/\\ä↭𝕐',- 'uploader': 'Philipp Hagemeister',- 'uploader_id': 'phihag',- 'uploader_url': r're:https?://(?:www\.)?youtube\.com/user/phihag','channel': 'Philipp Hagemeister','channel_id': 'UCLqxVugv74EIW3VWh2NOa3Q','channel_url': r're:https?://(?:www\.)?youtube\.com/channel/UCLqxVugv74EIW3VWh2NOa3Q',@@ -1299,7 +1312,10 @@ class YoutubeIE(YoutubeBaseInfoExtractor):'live_status': 'not_live','age_limit': 0,'comment_count': int,- 'channel_follower_count': int+ 'channel_follower_count': int,+ 'uploader': 'Philipp Hagemeister',+ 'uploader_url': 'https://www.youtube.com/@PhilippHagemeister',+ 'uploader_id': '@PhilippHagemeister',},'params': {'skip_download': True,@@ -1312,10 +1328,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):'id': 'a9LDPn-MO4I','ext': 'm4a','upload_date': '20121002',- 'uploader_id': '8KVIDEO',- 'uploader_url': r're:https?://(?:www\.)?youtube\.com/user/8KVIDEO','description': '',- 'uploader': '8KVIDEO','title': 'UHDTV TEST 8K VIDEO.mp4'},'params': {@@ -1333,8 +1346,6 @@ class YoutubeIE(YoutubeBaseInfoExtractor):'title': 'Afrojack, Spree Wilson - The Spark (Official Music Video) ft. Spree Wilson','description': 'md5:8f5e2b82460520b619ccac1f509d43bf','duration': 244,- 'uploader': 'AfrojackVEVO',- 'uploader_id': 'AfrojackVEVO','upload_date': '20131011','abr': 129.495,'like_count': int,@@ -1346,13 +1357,15 @@ class YoutubeIE(YoutubeBaseInfoExtractor):'live_status': 'not_live','thumbnail': 'https://i.ytimg.com/vi_webp/IB3lcPjvWLA/maxresdefault.webp','channel': 'Afrojack',- 'uploader_url': 'http://www.youtube.com/user/AfrojackVEVO','tags': 'count:19','availability': 'public','categories': ['Music'],'age_limit': 0,'alt_title': 'The Spark',- 'channel_follower_count': int+ 'channel_follower_count': int,+ 'uploader': 'Afrojack',+ 'uploader_url': 'https://www.youtube.com/@Afrojack',+ 'uploader_id': '@Afrojack',},'params': {'youtube_include_dash_manifest': True,@@ -1369,9 +1382,6 @@ class YoutubeIE(YoutubeBaseInfoExtractor):'title': 'The Witcher 3: Wild Hunt - The Sword Of Destiny Trailer','description': r're:(?s).{100,}About the Game\n.*?The Witcher 3: Wild Hunt.{100,}','duration': 142,- 'uploader': 'The Witcher',- 'uploader_id': 'WitcherGame',- 'uploader_url': r're:https?://(?:www\.)?youtube\.com/user/WitcherGame','upload_date': '20140605','age_limit': 18,'categories': ['Gaming'],@@ -1385,7 +1395,10 @@ class YoutubeIE(YoutubeBaseInfoExtractor):'channel_id': 'UCzybXLxv08IApdjdN0mJhEg','playable_in_embed': True,'view_count': int,- 'channel_follower_count': int+ 'channel_follower_count': int,+ 'uploader': 'The Witcher',+ 'uploader_url': 'https://www.youtube.com/@thewitcher',+ 'uploader_id': '@thewitcher',},},{@@ -1397,12 +1410,9 @@ class YoutubeIE(YoutubeBaseInfoExtractor):'title': 'Godzilla 2 (Official Video)','description': 'md5:bf77e03fcae5529475e500129b05668a','upload_date': '20200408',- 'uploader_id': 'FlyingKitty900',- 'uploader': 'FlyingKitty','age_limit': 18,'availability': 'needs_auth','channel_id': 'UCYQT13AtrJC0gsM1far_zJg',- 'uploader_url': 'http://www.youtube.com/user/FlyingKitty900','channel': 'FlyingKitty','channel_url': 'https://www.youtube.com/channel/UCYQT13AtrJC0gsM1far_zJg','view_count': int,@@ -1413,7 +1423,10 @@ class YoutubeIE(YoutubeBaseInfoExtractor):'like_count': int,'duration': 177,'playable_in_embed': True,- 'channel_follower_count': int+ 'channel_follower_count': int,+ 'uploader': 'FlyingKitty',+ 'uploader_url': 'https://www.youtube.com/@FlyingKitty900',+ 'uploader_id': '@FlyingKitty900',},},{@@ -1424,13 +1437,10 @@ class YoutubeIE(YoutubeBaseInfoExtractor):'title': '[MMD] Adios - EVERGLOW [+Motion DL]','ext': 'mp4','upload_date': '20191228',- 'uploader_id': 'UC1yoRdFoFJaCY-AGfD9W0wQ',- 'uploader': 'Projekt Melody','description': 'md5:17eccca93a786d51bc67646756894066','age_limit': 18,'like_count': int,'availability': 'needs_auth',- 'uploader_url': 'http://www.youtube.com/channel/UC1yoRdFoFJaCY-AGfD9W0wQ','channel_id': 'UC1yoRdFoFJaCY-AGfD9W0wQ','view_count': int,'thumbnail': 'https://i.ytimg.com/vi_webp/Tq92D6wQ1mg/sddefault.webp',@@ -1442,7 +1452,10 @@ class YoutubeIE(YoutubeBaseInfoExtractor):'duration': 106,'channel_url': 'https://www.youtube.com/channel/UC1yoRdFoFJaCY-AGfD9W0wQ','comment_count': int,- 'channel_follower_count': int+ 'channel_follower_count': int,+ 'uploader': 'Projekt Melody',+ 'uploader_url': 'https://www.youtube.com/@ProjektMelody',+ 'uploader_id': '@ProjektMelody',},},{@@ -1452,8 +1465,6 @@ class YoutubeIE(YoutubeBaseInfoExtractor):'id': 'MeJVWBSsPAY','ext': 'mp4','title': 'OOMPH! - Such Mich Find Mich (Lyrics)',- 'uploader': 'Herr Lurik',- 'uploader_id': 'st3in234','description': 'Fan Video. Music & Lyrics by OOMPH!.','upload_date': '20130730','track': 'Such mich find mich',@@ -1470,11 +1481,13 @@ class YoutubeIE(YoutubeBaseInfoExtractor):'channel_id': 'UCdR3RSDPqub28LjZx0v9-aA','categories': ['Music'],'availability': 'public',- 'uploader_url': 'http://www.youtube.com/user/st3in234','channel_url': 'https://www.youtube.com/channel/UCdR3RSDPqub28LjZx0v9-aA','live_status': 'not_live','artist': 'OOMPH!',- 'channel_follower_count': int+ 'channel_follower_count': int,+ 'uploader': 'Herr Lurik',+ 'uploader_url': 'https://www.youtube.com/@HerrLurik',+ 'uploader_id': '@HerrLurik',},},{@@ -1491,11 +1504,8 @@ class YoutubeIE(YoutubeBaseInfoExtractor):'ext': 'mp4','duration': 266,'upload_date': '20100430',- 'uploader_id': 'deadmau5',- 'uploader_url': r're:https?://(?:www\.)?youtube\.com/user/deadmau5','creator': 'deadmau5','description': 'md5:6cbcd3a92ce1bc676fc4d6ab4ace2336',- 'uploader': 'deadmau5','title': 'Deadmau5 - Some Chords (HD)','alt_title': 'Some Chords','availability': 'public',@@ -1513,7 +1523,10 @@ class YoutubeIE(YoutubeBaseInfoExtractor):'channel_url': 'https://www.youtube.com/channel/UCYEK6xds6eo-3tr4xRdflmQ','categories': ['Music'],'album': 'Some Chords',- 'channel_follower_count': int+ 'channel_follower_count': int,+ 'uploader': 'deadmau5',+ 'uploader_url': 'https://www.youtube.com/@deadmau5',+ 'uploader_id': '@deadmau5',},'expected_warnings': ['DASH manifest missing',@@ -1527,10 +1540,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):'ext': 'mp4','duration': 6085,'upload_date': '20150827',- 'uploader_id': 'olympic',- 'uploader_url': r're:https?://(?:www\.)?youtube\.com/user/olympic','description': 'md5:04bbbf3ccceb6795947572ca36f45904',- 'uploader': 'Olympics','title': 'Hockey - Women - GER-AUS - London 2012 Olympic Games','like_count': int,'release_timestamp': 1343767800,@@ -1546,7 +1556,10 @@ class YoutubeIE(YoutubeBaseInfoExtractor):'live_status': 'was_live','view_count': int,'channel_url': 'https://www.youtube.com/channel/UCTl3QQTvqHFjurroKxexy2Q',- 'channel_follower_count': int+ 'channel_follower_count': int,+ 'uploader': 'Olympics',+ 'uploader_url': 'https://www.youtube.com/@Olympics',+ 'uploader_id': '@Olympics',},'params': {'skip_download': 'requires avconv',@@ -1561,10 +1574,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):'stretched_ratio': 16 / 9.,'duration': 85,'upload_date': '20110310',- 'uploader_id': 'AllenMeow',- 'uploader_url': r're:https?://(?:www\.)?youtube\.com/user/AllenMeow','description': 'made by Wacom from Korea | 字幕&加油添醋 by TY\'s Allen | 感謝heylisa00cavey1001同學熱情提供梗及翻譯',- 'uploader': '孫ᄋᄅ','title': '[A-made] 變態妍字幕版 太妍 我就是這樣的人','playable_in_embed': True,'channel': '孫ᄋᄅ',@@ -1579,7 +1589,10 @@ class YoutubeIE(YoutubeBaseInfoExtractor):'live_status': 'not_live','availability': 'unlisted','comment_count': int,- 'channel_follower_count': int+ 'channel_follower_count': int,+ 'uploader': '孫ᄋᄅ',+ 'uploader_url': 'https://www.youtube.com/@AllenMeow',+ 'uploader_id': '@AllenMeow',},},# url_encoded_fmt_stream_map is empty string@@ -1591,8 +1604,6 @@ class YoutubeIE(YoutubeBaseInfoExtractor):'title': 'Обсуждение судебной практики по выборам 14 сентября 2014 года в Санкт-Петербурге','description': '','upload_date': '20150404',- 'uploader_id': 'spbelect',- 'uploader': 'Наблюдатели Петербурга',},'params': {'skip_download': 'requires avconv',@@ -1609,9 +1620,6 @@ class YoutubeIE(YoutubeBaseInfoExtractor):'description': 'md5:116377fd2963b81ec4ce64b542173306','duration': 220,'upload_date': '20150625',- 'uploader_id': 'dorappi2000',- 'uploader_url': r're:https?://(?:www\.)?youtube\.com/user/dorappi2000',- 'uploader': 'dorappi2000','formats': 'mincount:31',},'skip': 'not actual anymore',@@ -1624,9 +1632,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):'id': 'CsmdDsKjzN8','ext': 'mp4','upload_date': '20150501', # According to '<meta itemprop="datePublished"', but in other places it's 20150510- 'uploader': 'Airtek','description': 'Retransmisión en directo de la XVIII media maratón de Zaragoza.',- 'uploader_id': 'UCzTzUmjXxxacNnL8I3m4LnQ','title': 'Retransmisión XVIII Media maratón Zaragoza 2015',},'params': {@@ -1637,6 +1643,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):},{# Multifeed videos (multiple cameras), URL can be of any Camera+ # TODO: fix multifeed titles'url': 'https://www.youtube.com/watch?v=zaPI8MvL8pg','info_dict': {'id': 'zaPI8MvL8pg',@@ -1648,16 +1655,13 @@ class YoutubeIE(YoutubeBaseInfoExtractor):'id': 'j5yGuxZ8lLU','ext': 'mp4','title': 'Terraria 1.2 Live Stream | Let\'s Play - Part 04 (Chris)',- 'uploader': 'WiiLikeToPlay','description': 'md5:563ccbc698b39298481ca3c571169519',- 'uploader_url': 'http://www.youtube.com/user/WiiRikeToPray','duration': 10120,'channel_follower_count': int,'channel_url': 'https://www.youtube.com/channel/UCN2XePorRokPB9TEgRZpddg','availability': 'public','playable_in_embed': True,'upload_date': '20131105',- 'uploader_id': 'WiiRikeToPray','categories': ['Gaming'],'live_status': 'was_live','tags': 'count:24',@@ -1670,17 +1674,18 @@ class YoutubeIE(YoutubeBaseInfoExtractor):'channel': 'WiiLikeToPlay','view_count': int,'release_date': '20131106',+ 'uploader': 'WiiLikeToPlay',+ 'uploader_id': '@WLTP',+ 'uploader_url': 'https://www.youtube.com/@WLTP',},}, {'info_dict': {'id': 'zaPI8MvL8pg','ext': 'mp4','title': 'Terraria 1.2 Live Stream | Let\'s Play - Part 04 (Tyson)',- 'uploader_id': 'WiiRikeToPray','availability': 'public','channel_url': 'https://www.youtube.com/channel/UCN2XePorRokPB9TEgRZpddg','channel': 'WiiLikeToPlay',- 'uploader_url': 'http://www.youtube.com/user/WiiRikeToPray','channel_follower_count': int,'description': 'md5:563ccbc698b39298481ca3c571169519','duration': 10108,@@ -1688,7 +1693,6 @@ class YoutubeIE(YoutubeBaseInfoExtractor):'like_count': int,'tags': 'count:24','channel_id': 'UCN2XePorRokPB9TEgRZpddg',- 'uploader': 'WiiLikeToPlay','release_timestamp': 1383701915,'comment_count': int,'upload_date': '20131105',@@ -1698,6 +1702,9 @@ class YoutubeIE(YoutubeBaseInfoExtractor):'live_status': 'was_live','categories': ['Gaming'],'view_count': int,+ 'uploader': 'WiiLikeToPlay',+ 'uploader_id': '@WLTP',+ 'uploader_url': 'https://www.youtube.com/@WLTP',},}, {'info_dict': {@@ -1711,12 +1718,9 @@ class YoutubeIE(YoutubeBaseInfoExtractor):'playable_in_embed': True,'upload_date': '20131105','description': 'md5:563ccbc698b39298481ca3c571169519',- 'uploader_id': 'WiiRikeToPray',- 'uploader_url': 'http://www.youtube.com/user/WiiRikeToPray','channel_follower_count': int,'tags': 'count:24','release_date': '20131106',- 'uploader': 'WiiLikeToPlay','comment_count': int,'channel_url': 'https://www.youtube.com/channel/UCN2XePorRokPB9TEgRZpddg','channel': 'WiiLikeToPlay',@@ -1726,6 +1730,9 @@ class YoutubeIE(YoutubeBaseInfoExtractor):'age_limit': 0,'duration': 10128,'view_count': int,+ 'uploader': 'WiiLikeToPlay',+ 'uploader_id': '@WLTP',+ 'uploader_url': 'https://www.youtube.com/@WLTP',},}],'params': {'skip_download': True},@@ -1762,9 +1769,6 @@ class YoutubeIE(YoutubeBaseInfoExtractor):'description': 'md5:8085699c11dc3f597ce0410b0dcbb34a','duration': 133,'upload_date': '20151119',- 'uploader_id': 'IronSoulElf',- 'uploader_url': r're:https?://(?:www\.)?youtube\.com/user/IronSoulElf',- 'uploader': 'IronSoulElf','creator': 'Todd Haberman;\nDaniel Law Heath and Aaron Kaplan','track': 'Dark Walk','artist': 'Todd Haberman;\nDaniel Law Heath and Aaron Kaplan',@@ -1801,8 +1805,6 @@ class YoutubeIE(YoutubeBaseInfoExtractor):'title': 'Clash Of Clans#14 Dicas De Ataque Para CV 4','description': 'md5:ee18a25c350637c8faff806845bddee9','upload_date': '20151107',- 'uploader_id': 'UCCr7TALkRbo3EtFzETQF1LA',- 'uploader': 'CH GAMER DROID',},'params': {'skip_download': True,@@ -1824,9 +1826,6 @@ class YoutubeIE(YoutubeBaseInfoExtractor):'description': 'md5:a677553cf0840649b731a3024aeff4cc','duration': 721,'upload_date': '20150128',- 'uploader_id': 'BerkmanCenter',- 'uploader_url': r're:https?://(?:www\.)?youtube\.com/user/BerkmanCenter',- 'uploader': 'The Berkman Klein Center for Internet & Society','license': 'Creative Commons Attribution license (reuse allowed)','channel_id': 'UCuLGmD72gJDBwmLw06X58SA','channel_url': 'https://www.youtube.com/channel/UCuLGmD72gJDBwmLw06X58SA',@@ -1840,16 +1839,17 @@ class YoutubeIE(YoutubeBaseInfoExtractor):'thumbnail': 'https://i.ytimg.com/vi_webp/M4gD1WSo5mA/maxresdefault.webp','live_status': 'not_live','playable_in_embed': True,- 'comment_count': int,'channel_follower_count': int,'chapters': list,+ 'uploader': 'The Berkman Klein Center for Internet & Society',+ 'uploader_id': '@BKCHarvard',+ 'uploader_url': 'https://www.youtube.com/@BKCHarvard',},'params': {'skip_download': True,},},{- # Channel-like uploader_url'url': 'https://www.youtube.com/watch?v=eQcmzGIKrzg','info_dict': {'id': 'eQcmzGIKrzg',@@ -1858,9 +1858,6 @@ class YoutubeIE(YoutubeBaseInfoExtractor):'description': 'md5:13a2503d7b5904ef4b223aa101628f39','duration': 4060,'upload_date': '20151120',- 'uploader': 'Bernie Sanders',- 'uploader_id': 'UCH1dpzjCEiGAt8CXkryhkZg',- 'uploader_url': r're:https?://(?:www\.)?youtube\.com/channel/UCH1dpzjCEiGAt8CXkryhkZg','license': 'Creative Commons Attribution license (reuse allowed)','playable_in_embed': True,'tags': 'count:12',@@ -1877,6 +1874,9 @@ class YoutubeIE(YoutubeBaseInfoExtractor):'comment_count': int,'channel_follower_count': int,'chapters': list,+ 'uploader': 'Bernie Sanders',+ 'uploader_url': 'https://www.youtube.com/@BernieSanders',+ 'uploader_id': '@BernieSanders',},'params': {'skip_download': True,@@ -1900,9 +1900,6 @@ class YoutubeIE(YoutubeBaseInfoExtractor):'title': 'Piku - Trailer','description': 'md5:c36bd60c3fd6f1954086c083c72092eb','upload_date': '20150811',- 'uploader': 'FlixMatrix',- 'uploader_id': 'FlixMatrixKaravan',- 'uploader_url': r're:https?://(?:www\.)?youtube\.com/user/FlixMatrixKaravan','license': 'Standard YouTube License',},'params': {@@ -1920,9 +1917,6 @@ class YoutubeIE(YoutubeBaseInfoExtractor):'description': 'md5:f540112edec5d09fc8cc752d3d4ba3cd','duration': 2085,'upload_date': '20170118',- 'uploader': 'Vsauce',- 'uploader_id': 'Vsauce',- 'uploader_url': r're:https?://(?:www\.)?youtube\.com/user/Vsauce','series': 'Mind Field','season_number': 1,'episode_number': 1,@@ -1940,7 +1934,10 @@ class YoutubeIE(YoutubeBaseInfoExtractor):'like_count': int,'playable_in_embed': True,'live_status': 'not_live',- 'channel_follower_count': int+ 'channel_follower_count': int,+ 'uploader': 'Vsauce',+ 'uploader_url': 'https://www.youtube.com/@Vsauce',+ 'uploader_id': '@Vsauce',},'params': {'skip_download': True,@@ -1960,9 +1957,6 @@ class YoutubeIE(YoutubeBaseInfoExtractor):'description': 'md5:5d161533167390427a1f8ee89a1fc6f1','duration': 965,'upload_date': '20140124',- 'uploader': 'New Century Foundation',- 'uploader_id': 'UCEJYpZGqgUob0zVVEaLhvVg',- 'uploader_url': r're:https?://(?:www\.)?youtube\.com/channel/UCEJYpZGqgUob0zVVEaLhvVg',},'params': {'skip_download': True,@@ -2007,9 +2001,6 @@ class YoutubeIE(YoutubeBaseInfoExtractor):'description': 'md5:d41d8cd98f00b204e9800998ecf8427e','duration': 433,'upload_date': '20130923',- 'uploader': 'Amelia Putri Harwita',- 'uploader_id': 'UCpOxM49HJxmC1qCalXyB3_Q',- 'uploader_url': r're:https?://(?:www\.)?youtube\.com/channel/UCpOxM49HJxmC1qCalXyB3_Q','formats': 'maxcount:10',},'params': {@@ -2020,6 +2011,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):},{# Youtube Music Auto-generated description+ # TODO: fix metadata extraction'url': 'https://music.youtube.com/watch?v=MgNrAu2pzNs','info_dict': {'id': 'MgNrAu2pzNs',@@ -2027,8 +2019,6 @@ class YoutubeIE(YoutubeBaseInfoExtractor):'title': 'Voyeur Girl','description': 'md5:7ae382a65843d6df2685993e90a8628f','upload_date': '20190312',- 'uploader': 'Stephen - Topic',- 'uploader_id': 'UC-pWHpBjdGG69N9mM2auIAA','artist': 'Stephen','track': 'Voyeur Girl','album': 'it\'s too much love to know my dear',@@ -2036,12 +2026,12 @@ class YoutubeIE(YoutubeBaseInfoExtractor):'release_year': 2019,'alt_title': 'Voyeur Girl','view_count': int,- 'uploader_url': 'http://www.youtube.com/channel/UC-pWHpBjdGG69N9mM2auIAA','playable_in_embed': True,'like_count': int,'categories': ['Music'],'channel_url': 'https://www.youtube.com/channel/UC-pWHpBjdGG69N9mM2auIAA',- 'channel': 'Stephen',+ 'channel': 'Stephen', # TODO: should be "Stephen - Topic"+ 'uploader': 'Stephen','availability': 'public','creator': 'Stephen','duration': 169,@@ -2069,9 +2059,6 @@ class YoutubeIE(YoutubeBaseInfoExtractor):'title': 'Panjabi MC - Mundian To Bach Ke (The Dictator Soundtrack)','description': 'md5:bf577a41da97918e94fa9798d9228825','upload_date': '20090125',- 'uploader': 'Prochorowka',- 'uploader_id': 'Prochorowka',- 'uploader_url': r're:https?://(?:www\.)?youtube\.com/user/Prochorowka','artist': 'Panjabi MC','track': 'Beware of the Boys (Mundian to Bach Ke) - Motivo Hi-Lectro Remix','album': 'Beware of the Boys (Mundian To Bach Ke)',@@ -2090,11 +2077,8 @@ class YoutubeIE(YoutubeBaseInfoExtractor):'title': 'IMG 3456','description': '','upload_date': '20170613',- 'uploader_id': 'ElevageOrVert',- 'uploader': 'ElevageOrVert','view_count': int,'thumbnail': 'https://i.ytimg.com/vi_webp/x41yOUIvK2k/maxresdefault.webp',- 'uploader_url': 'http://www.youtube.com/user/ElevageOrVert','like_count': int,'channel_id': 'UCo03ZQPBW5U4UC3regpt1nw','tags': [],@@ -2105,8 +2089,11 @@ class YoutubeIE(YoutubeBaseInfoExtractor):'duration': 7,'playable_in_embed': True,'live_status': 'not_live',- 'channel': 'ElevageOrVert',- 'channel_follower_count': int+ 'channel': 'l\'Or Vert asbl',+ 'channel_follower_count': int,+ 'uploader': 'l\'Or Vert asbl',+ 'uploader_url': 'https://www.youtube.com/@ElevageOrVert',+ 'uploader_id': '@ElevageOrVert',},'params': {'skip_download': True,@@ -2124,11 +2111,8 @@ class YoutubeIE(YoutubeBaseInfoExtractor):'title': 'Part 77 Sort a list of simple types in c#','description': 'md5:b8746fa52e10cdbf47997903f13b20dc','upload_date': '20130831',- 'uploader_id': 'kudvenkat',- 'uploader': 'kudvenkat','channel_id': 'UCCTVrRB5KpIiK6V2GGVsR1Q','like_count': int,- 'uploader_url': 'http://www.youtube.com/user/kudvenkat','channel_url': 'https://www.youtube.com/channel/UCCTVrRB5KpIiK6V2GGVsR1Q','live_status': 'not_live','categories': ['Education'],@@ -2143,6 +2127,9 @@ class YoutubeIE(YoutubeBaseInfoExtractor):'comment_count': int,'channel_follower_count': int,'chapters': list,+ 'uploader': 'kudvenkat',+ 'uploader_url': 'https://www.youtube.com/@Csharp-video-tutorialsBlogspot',+ 'uploader_id': '@Csharp-video-tutorialsBlogspot',},'params': {'skip_download': True,@@ -2166,9 +2153,6 @@ class YoutubeIE(YoutubeBaseInfoExtractor):'title': 'Burn Out','description': 'md5:8d07b84dcbcbfb34bc12a56d968b6131','upload_date': '20141120',- 'uploader': 'The Cinematic Orchestra - Topic',- 'uploader_id': 'UCIzsJBIyo8hhpFm1NK0uLgw',- 'uploader_url': r're:https?://(?:www\.)?youtube\.com/channel/UCIzsJBIyo8hhpFm1NK0uLgw','artist': 'The Cinematic Orchestra','track': 'Burn Out','album': 'Every Day',@@ -2187,7 +2171,9 @@ class YoutubeIE(YoutubeBaseInfoExtractor):'thumbnail': 'https://i.ytimg.com/vi/OtqTfy26tG0/maxresdefault.jpg','categories': ['Music'],'playable_in_embed': True,- 'channel_follower_count': int+ 'channel_follower_count': int,+ 'uploader': 'The Cinematic Orchestra',+ 'comment_count': int,},'params': {'skip_download': True,@@ -2206,13 +2192,10 @@ class YoutubeIE(YoutubeBaseInfoExtractor):'ext': 'mp4','title': 'San Diego teen commits suicide after bullying over embarrassing video','channel_id': 'UC-SJ6nODDmufqBzPBwCvYvQ',- 'uploader': 'CBS Mornings',- 'uploader_id': 'CBSThisMorning','upload_date': '20140716','description': 'md5:acde3a73d3f133fc97e837a9f76b53b7','duration': 170,'categories': ['News & Politics'],- 'uploader_url': 'http://www.youtube.com/user/CBSThisMorning','view_count': int,'channel': 'CBS Mornings','tags': ['suicide', 'bullying', 'video', 'cbs', 'news'],@@ -2223,7 +2206,10 @@ class YoutubeIE(YoutubeBaseInfoExtractor):'like_count': int,'live_status': 'not_live','playable_in_embed': True,- 'channel_follower_count': int+ 'channel_follower_count': int,+ 'uploader': 'CBS Mornings',+ 'uploader_url': 'https://www.youtube.com/@CBSMornings',+ 'uploader_id': '@CBSMornings',}},{@@ -2235,9 +2221,6 @@ class YoutubeIE(YoutubeBaseInfoExtractor):'title': '4K Ueno Okachimachi Street Scenes 上野御徒町歩き','description': 'md5:ea770e474b7cd6722b4c95b833c03630','upload_date': '20201120',- 'uploader': 'Walk around Japan',- 'uploader_id': 'UC3o_t8PzBmXf5S9b7GLx1Mw',- 'uploader_url': r're:https?://(?:www\.)?youtube\.com/channel/UC3o_t8PzBmXf5S9b7GLx1Mw','duration': 1456,'categories': ['Travel & Events'],'channel_id': 'UC3o_t8PzBmXf5S9b7GLx1Mw',@@ -2250,7 +2233,10 @@ class YoutubeIE(YoutubeBaseInfoExtractor):'channel_url': 'https://www.youtube.com/channel/UC3o_t8PzBmXf5S9b7GLx1Mw','live_status': 'not_live','playable_in_embed': True,- 'channel_follower_count': int+ 'channel_follower_count': int,+ 'uploader': 'Walk around Japan',+ 'uploader_url': 'https://www.youtube.com/@walkaroundjapan7124',+ 'uploader_id': '@walkaroundjapan7124',},'params': {'skip_download': True,@@ -2276,13 +2262,10 @@ class YoutubeIE(YoutubeBaseInfoExtractor):'ext': '3gp','upload_date': '20210624','channel_id': 'UCp68_FLety0O-n9QU6phsgw',- 'uploader': 'colinfurze',- 'uploader_id': 'colinfurze','channel_url': r're:https?://(?:www\.)?youtube\.com/channel/UCp68_FLety0O-n9QU6phsgw','description': 'md5:5d5991195d599b56cd0c4148907eec50','duration': 596,'categories': ['Entertainment'],- 'uploader_url': 'http://www.youtube.com/user/colinfurze','view_count': int,'channel': 'colinfurze','tags': ['Colin', 'furze', 'Terry', 'tunnel', 'underground', 'bunker'],@@ -2294,6 +2277,9 @@ class YoutubeIE(YoutubeBaseInfoExtractor):'playable_in_embed': True,'channel_follower_count': int,'chapters': list,+ 'uploader': 'colinfurze',+ 'uploader_url': 'https://www.youtube.com/@colinfurze',+ 'uploader_id': '@colinfurze',},'params': {'format': '17', # 3gp format available on android@@ -2319,10 +2305,8 @@ class YoutubeIE(YoutubeBaseInfoExtractor):'ext': 'mhtml','format_id': 'sb0','title': 'Your Brain is Plastic',- 'uploader_id': 'scishow','description': 'md5:89cd86034bdb5466cd87c6ba206cd2bc','upload_date': '20140324',- 'uploader': 'SciShow','like_count': int,'channel_id': 'UCZYTClx2T1of7BRZ86-8fow','channel_url': 'https://www.youtube.com/channel/UCZYTClx2T1of7BRZ86-8fow',@@ -2330,7 +2314,6 @@ class YoutubeIE(YoutubeBaseInfoExtractor):'thumbnail': 'https://i.ytimg.com/vi/5KLPxDtMqe8/maxresdefault.jpg','playable_in_embed': True,'tags': 'count:12',- 'uploader_url': 'http://www.youtube.com/user/scishow','availability': 'public','channel': 'SciShow','live_status': 'not_live',@@ -2339,6 +2322,9 @@ class YoutubeIE(YoutubeBaseInfoExtractor):'age_limit': 0,'channel_follower_count': int,'chapters': list,+ 'uploader': 'SciShow',+ 'uploader_url': 'https://www.youtube.com/@SciShow',+ 'uploader_id': '@SciShow',}, 'params': {'format': 'mhtml', 'skip_download': True}}, {# Ensure video upload_date is in UTC timezone (video was uploaded 1641170939)@@ -2348,9 +2334,6 @@ class YoutubeIE(YoutubeBaseInfoExtractor):'ext': 'mp4','title': 'The NP that test your phone performance 🙂','description': 'md5:144494b24d4f9dfacb97c1bbef5de84d',- 'uploader': 'Leon Nguyen',- 'uploader_id': 'VNSXIII',- 'uploader_url': 'http://www.youtube.com/user/VNSXIII','channel_id': 'UCRqNBSOHgilHfAczlUmlWHA','channel_url': 'https://www.youtube.com/channel/UCRqNBSOHgilHfAczlUmlWHA','duration': 21,@@ -2366,7 +2349,10 @@ class YoutubeIE(YoutubeBaseInfoExtractor):'channel': 'Leon Nguyen','thumbnail': 'https://i.ytimg.com/vi_webp/2NUZ8W2llS4/maxresdefault.webp','comment_count': int,- 'channel_follower_count': int+ 'channel_follower_count': int,+ 'uploader': 'Leon Nguyen',+ 'uploader_url': 'https://www.youtube.com/@LeonNguyen',+ 'uploader_id': '@LeonNguyen',}}, {# Same video as above, but with --compat-opt no-youtube-prefer-utc-upload-date@@ -2376,9 +2362,6 @@ class YoutubeIE(YoutubeBaseInfoExtractor):'ext': 'mp4','title': 'The NP that test your phone performance 🙂','description': 'md5:144494b24d4f9dfacb97c1bbef5de84d',- 'uploader': 'Leon Nguyen',- 'uploader_id': 'VNSXIII',- 'uploader_url': 'http://www.youtube.com/user/VNSXIII','channel_id': 'UCRqNBSOHgilHfAczlUmlWHA','channel_url': 'https://www.youtube.com/channel/UCRqNBSOHgilHfAczlUmlWHA','duration': 21,@@ -2394,7 +2377,10 @@ class YoutubeIE(YoutubeBaseInfoExtractor):'channel': 'Leon Nguyen','thumbnail': 'https://i.ytimg.com/vi_webp/2NUZ8W2llS4/maxresdefault.webp','comment_count': int,- 'channel_follower_count': int+ 'channel_follower_count': int,+ 'uploader': 'Leon Nguyen',+ 'uploader_url': 'https://www.youtube.com/@LeonNguyen',+ 'uploader_id': '@LeonNguyen',},'params': {'compat_opts': ['no-youtube-prefer-utc-upload-date']}}, {@@ -2404,10 +2390,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):'id': 'mzZzzBU6lrM','ext': 'mp4','title': 'I Met GeorgeNotFound In Real Life...',- 'description': 'md5:cca98a355c7184e750f711f3a1b22c84',- 'uploader': 'Quackity',- 'uploader_id': 'QuackityHQ',- 'uploader_url': 'http://www.youtube.com/user/QuackityHQ',+ 'description': 'md5:978296ec9783a031738b684d4ebf302d','channel_id': 'UC_8NknAFiyhOUaZqHR3lq3Q','channel_url': 'https://www.youtube.com/channel/UC_8NknAFiyhOUaZqHR3lq3Q','duration': 955,@@ -2424,7 +2407,10 @@ class YoutubeIE(YoutubeBaseInfoExtractor):'availability': 'public','channel': 'Quackity','thumbnail': 'https://i.ytimg.com/vi/mzZzzBU6lrM/maxresdefault.jpg',- 'channel_follower_count': int+ 'channel_follower_count': int,+ 'uploader': 'Quackity',+ 'uploader_id': '@Quackity',+ 'uploader_url': 'https://www.youtube.com/@Quackity',}},{ # continuous livestream. Microformat upload date should be preferred.@@ -2442,19 +2428,19 @@ class YoutubeIE(YoutubeBaseInfoExtractor):'channel_url': 'https://www.youtube.com/channel/UC84whx2xxsiA1gXHXXqKGOA','live_status': 'is_live','thumbnail': 'https://i.ytimg.com/vi/kgx4WGK0oNU/maxresdefault.jpg',- 'uploader': '阿鲍Abao',- 'uploader_url': 'http://www.youtube.com/channel/UC84whx2xxsiA1gXHXXqKGOA','channel': 'Abao in Tokyo','channel_follower_count': int,'release_date': '20211127','tags': 'count:39','categories': ['People & Blogs'],'like_count': int,- 'uploader_id': 'UC84whx2xxsiA1gXHXXqKGOA','view_count': int,'playable_in_embed': True,'description': 'md5:2ef1d002cad520f65825346e2084e49d','concurrent_view_count': int,+ 'uploader': 'Abao in Tokyo',+ 'uploader_url': 'https://www.youtube.com/@abaointokyo',+ 'uploader_id': '@abaointokyo',},'params': {'skip_download': True}}, {@@ -2471,15 +2457,12 @@ class YoutubeIE(YoutubeBaseInfoExtractor):'title': 'Story','channel': 'IT\'S HISTORY','description': '',- 'uploader_id': 'BlastfromthePast','duration': 12,- 'uploader': 'IT\'S HISTORY','playable_in_embed': True,'age_limit': 0,'live_status': 'not_live','tags': [],'thumbnail': 'https://i.ytimg.com/vi_webp/vv8qTUWmulI/maxresdefault.webp',- 'uploader_url': 'http://www.youtube.com/user/BlastfromthePast','channel_url': 'https://www.youtube.com/channel/UCzIZ8HrzDgc-pNQDUG6avBA',},'skip': 'stories get removed after some period of time',@@ -2492,11 +2475,9 @@ class YoutubeIE(YoutubeBaseInfoExtractor):'upload_date': '20220323','like_count': int,'availability': 'unlisted',- 'channel': 'nao20010128nao',- 'thumbnail': 'https://i.ytimg.com/vi_webp/tjjjtzRLHvA/maxresdefault.webp',+ 'channel': 'Lesmiscore',+ 'thumbnail': r're:^https?://.*\.jpg','age_limit': 0,- 'uploader': 'nao20010128nao',- 'uploader_id': 'nao20010128nao','categories': ['Music'],'view_count': int,'description': '',@@ -2507,7 +2488,9 @@ class YoutubeIE(YoutubeBaseInfoExtractor):'channel_follower_count': int,'duration': 6,'tags': [],- 'uploader_url': 'http://www.youtube.com/user/nao20010128nao',+ 'uploader_id': '@lesmiscore',+ 'uploader': 'Lesmiscore',+ 'uploader_url': 'https://www.youtube.com/@lesmiscore',}}, {# Prefer primary title+description language metadata by default@@ -2525,16 +2508,16 @@ class YoutubeIE(YoutubeBaseInfoExtractor):'like_count': int,'playable_in_embed': True,'availability': 'unlisted',- 'thumbnail': 'https://i.ytimg.com/vi_webp/el3E4MbxRqQ/maxresdefault.webp',+ 'thumbnail': r're:^https?://.*\.jpg','age_limit': 0,'duration': 5,- 'uploader_id': 'UCiu-3thuViMebBjw_5nWYrA',- 'uploader_url': 'http://www.youtube.com/channel/UCiu-3thuViMebBjw_5nWYrA','live_status': 'not_live','upload_date': '20220908','categories': ['People & Blogs'],- 'uploader': 'cole-dlp-test-acc','channel_id': 'UCiu-3thuViMebBjw_5nWYrA',+ 'uploader_url': 'https://www.youtube.com/@coletdjnz',+ 'uploader_id': '@coletdjnz',+ 'uploader': 'cole-dlp-test-acc',},'params': {'skip_download': True}}, {@@ -2549,18 +2532,18 @@ class YoutubeIE(YoutubeBaseInfoExtractor):'live_status': 'not_live','channel_id': 'UCiu-3thuViMebBjw_5nWYrA','upload_date': '20220728',- 'uploader_id': 'UCiu-3thuViMebBjw_5nWYrA','view_count': int,'categories': ['People & Blogs'],- 'thumbnail': 'https://i.ytimg.com/vi_webp/gHKT4uU8Zng/maxresdefault.webp',+ 'thumbnail': r're:^https?://.*\.jpg','title': 'dlp test video title translated (fr)','availability': 'public',- 'uploader': 'cole-dlp-test-acc','age_limit': 0,'description': 'dlp test video description translated (fr)','playable_in_embed': True,'channel_url': 'https://www.youtube.com/channel/UCiu-3thuViMebBjw_5nWYrA',- 'uploader_url': 'http://www.youtube.com/channel/UCiu-3thuViMebBjw_5nWYrA',+ 'uploader_url': 'https://www.youtube.com/@coletdjnz',+ 'uploader_id': '@coletdjnz',+ 'uploader': 'cole-dlp-test-acc',},'params': {'skip_download': True, 'extractor_args': {'youtube': {'lang': ['fr']}}},'expected_warnings': [r'Preferring "fr" translated fields'],@@ -2576,7 +2559,6 @@ class YoutubeIE(YoutubeBaseInfoExtractor):'ext': 'mp4','categories': ['Entertainment'],'description': 'md5:e8031ff6e426cdb6a77670c9b81f6fa6',- 'uploader_url': 'http://www.youtube.com/user/MrBeast6000','live_status': 'not_live','duration': 937,'channel_follower_count': int,@@ -2586,14 +2568,15 @@ class YoutubeIE(YoutubeBaseInfoExtractor):'playable_in_embed': True,'view_count': int,'upload_date': '20221112',- 'uploader': 'MrBeast',- 'uploader_id': 'MrBeast6000','channel_url': 'https://www.youtube.com/channel/UCX6OQ3DkcsbYNE6H8uQQuVA','age_limit': 0,'availability': 'public','channel_id': 'UCX6OQ3DkcsbYNE6H8uQQuVA','like_count': int,'tags': [],+ 'uploader': 'MrBeast',+ 'uploader_url': 'https://www.youtube.com/@MrBeast',+ 'uploader_id': '@MrBeast',},'params': {'extractor_args': {'youtube': {'player_client': ['ios']}}, 'format': '233-1'},}, {@@ -2601,14 +2584,13 @@ class YoutubeIE(YoutubeBaseInfoExtractor):'url': 'https://www.youtube.com/watch?v=Tq92D6wQ1mg','info_dict': {'id': 'Tq92D6wQ1mg',- 'ext': 'weba',+ 'ext': 'webm','title': '[MMD] Adios - EVERGLOW [+Motion DL]','channel_url': 'https://www.youtube.com/channel/UC1yoRdFoFJaCY-AGfD9W0wQ','channel_id': 'UC1yoRdFoFJaCY-AGfD9W0wQ','channel_follower_count': int,'description': 'md5:17eccca93a786d51bc67646756894066','upload_date': '20191228',- 'uploader_url': 'http://www.youtube.com/channel/UC1yoRdFoFJaCY-AGfD9W0wQ','tags': ['mmd', 'dance', 'mikumikudance', 'kpop', 'vtuber'],'playable_in_embed': True,'like_count': int,@@ -2616,13 +2598,14 @@ class YoutubeIE(YoutubeBaseInfoExtractor):'thumbnail': 'https://i.ytimg.com/vi/Tq92D6wQ1mg/sddefault.jpg','age_limit': 18,'channel': 'Projekt Melody',- 'uploader_id': 'UC1yoRdFoFJaCY-AGfD9W0wQ','view_count': int,'availability': 'needs_auth','comment_count': int,'live_status': 'not_live',- 'uploader': 'Projekt Melody','duration': 106,+ 'uploader': 'Projekt Melody',+ 'uploader_id': '@ProjektMelody',+ 'uploader_url': 'https://www.youtube.com/@ProjektMelody',},'params': {'extractor_args': {'youtube': {'player_client': ['tv_embedded']}}, 'format': '251-drc'},},@@ -2632,13 +2615,11 @@ class YoutubeIE(YoutubeBaseInfoExtractor):'id': 'qVv6vCqciTM','ext': 'mp4','age_limit': 0,- 'uploader_id': 'UCIdEIHpS0TdkqRkHL5OkLtA','comment_count': int,'chapters': 'count:13','upload_date': '20221223','thumbnail': 'https://i.ytimg.com/vi/qVv6vCqciTM/maxresdefault.jpg','channel_url': 'https://www.youtube.com/channel/UCIdEIHpS0TdkqRkHL5OkLtA',- 'uploader_url': 'http://www.youtube.com/channel/UCIdEIHpS0TdkqRkHL5OkLtA','like_count': int,'release_date': '20221223','tags': ['Vtuber', '月ノ美兎', '名取さな', 'にじさんじ', 'クリスマス', '3D配信'],@@ -2655,6 +2636,40 @@ class YoutubeIE(YoutubeBaseInfoExtractor):'channel': 'さなちゃんねる','description': 'md5:6aebf95cc4a1d731aebc01ad6cc9806d','uploader': 'さなちゃんねる',+ 'uploader_url': 'https://www.youtube.com/@sana_natori',+ 'uploader_id': '@sana_natori',+ },+ },+ {+ # Fallbacks when webpage and web client is unavailable+ 'url': 'https://www.youtube.com/watch?v=wSSmNUl9Snw',+ 'info_dict': {+ 'id': 'wSSmNUl9Snw',+ 'ext': 'mp4',+ # 'categories': ['Science & Technology'],+ 'view_count': int,+ 'chapters': 'count:2',+ 'channel': 'Scott Manley',+ 'like_count': int,+ 'age_limit': 0,+ # 'availability': 'public',+ 'channel_follower_count': int,+ 'live_status': 'not_live',+ 'upload_date': '20170831',+ 'duration': 682,+ 'tags': 'count:8',+ 'uploader_url': 'https://www.youtube.com/@scottmanley',+ 'description': 'md5:f4bed7b200404b72a394c2f97b782c02',+ 'uploader': 'Scott Manley',+ 'uploader_id': '@scottmanley',+ 'title': 'The Computer Hack That Saved Apollo 14',+ 'channel_id': 'UCxzC4EngIsMrPmbm6Nxvb-A',+ 'thumbnail': r're:^https?://.*\.webp',+ 'channel_url': 'https://www.youtube.com/channel/UCxzC4EngIsMrPmbm6Nxvb-A',+ 'playable_in_embed': True,+ },+ 'params': {+ 'extractor_args': {'youtube': {'player_client': ['android'], 'player_skip': ['webpage']}},},},]@@ -2670,8 +2685,6 @@ class YoutubeIE(YoutubeBaseInfoExtractor):'title': 'Feynman: Mirrors FUN TO IMAGINE 6','upload_date': '20080526','description': 'md5:873c81d308b979f0e23ee7e620b312a3',- 'uploader': 'Christopher Sykes',- 'uploader_id': 'ChristopherJSykes','age_limit': 0,'tags': ['feynman', 'mirror', 'science', 'physics', 'imagination', 'fun', 'cool', 'puzzle'],'channel_id': 'UCCeo--lls1vna5YJABWAcVA',@@ -2687,7 +2700,9 @@ class YoutubeIE(YoutubeBaseInfoExtractor):'view_count': int,'categories': ['Science & Technology'],'channel_follower_count': int,- 'uploader_url': 'http://www.youtube.com/user/ChristopherJSykes',+ 'uploader': 'Christopher Sykes',+ 'uploader_url': 'https://www.youtube.com/@ChristopherSykesDocumentaries',+ 'uploader_id': '@ChristopherSykesDocumentaries',},'params': {'skip_download': True,@@ -4097,10 +4112,10 @@ class YoutubeIE(YoutubeBaseInfoExtractor):self._downloader._sort_thumbnails(original_thumbnails)category = get_first(microformats, 'category') or search_meta('genre')- channel_id = str_or_none(+ channel_id = self.ucid_or_none(str_or_none(get_first(video_details, 'channelId')or get_first(microformats, 'externalChannelId')- or search_meta('channelId'))+ or search_meta('channelId')))owner_profile_url = get_first(microformats, 'ownerProfileUrl')live_start_time = parse_iso8601(get_first(live_broadcast_details, 'startTimestamp'))@@ -4127,6 +4142,8 @@ class YoutubeIE(YoutubeBaseInfoExtractor):formats.extend(self._extract_storyboard(player_responses, duration))+ channel_handle = self.handle_from_url(owner_profile_url)+info = {'id': video_id,'title': video_title,@@ -4136,11 +4153,8 @@ class YoutubeIE(YoutubeBaseInfoExtractor):# URL checking if user don't care about getting the best possible thumbnail'thumbnail': traverse_obj(original_thumbnails, (-1, 'url')),'description': video_description,- 'uploader': get_first(video_details, 'author'),- 'uploader_id': self._search_regex(r'/(?:channel/|user/|(?=@))([^/?&#]+)', owner_profile_url, 'uploader id', default=None),- 'uploader_url': owner_profile_url,'channel_id': channel_id,- 'channel_url': format_field(channel_id, None, 'https://www.youtube.com/channel/%s'),+ 'channel_url': format_field(channel_id, None, 'https://www.youtube.com/channel/%s', default=None),'duration': duration,'view_count': int_or_none(get_first((video_details, microformats), (..., 'viewCount'))@@ -4369,6 +4383,13 @@ class YoutubeIE(YoutubeBaseInfoExtractor):'channel': self._get_text(vor, 'title'),'channel_follower_count': self._get_count(vor, 'subscriberCountText')})+ if not channel_handle:+ channel_handle = self.handle_from_url(+ traverse_obj(vor, (+ ('navigationEndpoint', ('title', 'runs', ..., 'navigationEndpoint')),+ (('commandMetadata', 'webCommandMetadata', 'url'), ('browseEndpoint', 'canonicalBaseUrl')),+ {str}), get_all=False))+rows = try_get(vsir,lambda x: x['metadataRowContainer']['metadataRowContainerRenderer']['rows'],@@ -4395,12 +4416,11 @@ class YoutubeIE(YoutubeBaseInfoExtractor):elif mrr_title == 'Song':info['track'] = mrr_contents_text- fallbacks = {- 'channel': 'uploader',- 'channel_id': 'uploader_id',- 'channel_url': 'uploader_url',- }-+ info.update({+ 'uploader': info.get('channel'),+ 'uploader_id': channel_handle,+ 'uploader_url': format_field(channel_handle, None, 'https://www.youtube.com/%s', default=None),+ })# The upload date for scheduled, live and past live streams / premieres in microformats# may be different from the stream date. Although not in UTC, we will prefer it in this case.# See: https://github.com/yt-dlp/yt-dlp/pull/2223#issuecomment-1008485139@@ -4415,10 +4435,6 @@ class YoutubeIE(YoutubeBaseInfoExtractor):self._parse_time_text(self._get_text(vpir, 'dateText')), '%Y%m%d') or upload_dateinfo['upload_date'] = upload_date- for to, frm in fallbacks.items():- if not info.get(to):- info[to] = info.get(frm)-for s_k, d_k in [('artist', 'creator'), ('track', 'alt_title')]:v = info.get(s_k)if v:@@ -4494,18 +4510,28 @@ class YoutubeTabBaseInfoExtractor(YoutubeBaseInfoExtractor):return rendererdef _extract_channel_renderer(self, renderer):- channel_id = renderer['channelId']+ channel_id = self.ucid_or_none(renderer['channelId'])title = self._get_text(renderer, 'title')- channel_url = f'https://www.youtube.com/channel/{channel_id}'+ channel_url = format_field(channel_id, None, 'https://www.youtube.com/channel/%s', default=None)+ # As of 2023-03-01 YouTube doesn't use the channel handles on these renderers yet.+ # However we can expect them to change that in the future.+ channel_handle = self.handle_from_url(+ traverse_obj(renderer, (+ 'navigationEndpoint', (('commandMetadata', 'webCommandMetadata', 'url'),+ ('browseEndpoint', 'canonicalBaseUrl')),+ {str}), get_all=False))return {'_type': 'url','url': channel_url,'id': channel_id,'ie_key': YoutubeTabIE.ie_key(),'channel': title,+ 'uploader': title,'channel_id': channel_id,'channel_url': channel_url,'title': title,+ 'uploader_id': channel_handle,+ 'uploader_url': format_field(channel_handle, None, 'https://www.youtube.com/%s', default=None),'channel_follower_count': self._get_count(renderer, 'subscriberCountText'),'thumbnails': self._extract_thumbnails(renderer, 'thumbnail'),'playlist_count': self._get_count(renderer, 'videoCountText'),@@ -4845,13 +4871,14 @@ class YoutubeTabBaseInfoExtractor(YoutubeBaseInfoExtractor):metadata_renderer = traverse_obj(data, ('metadata', 'channelMetadataRenderer'), expected_type=dict)if metadata_renderer:+ channel_id = traverse_obj(metadata_renderer, ('externalId', {self.ucid_or_none}),+ ('channelUrl', {self.ucid_from_url}))info.update({- 'uploader': metadata_renderer.get('title'),- 'uploader_id': metadata_renderer.get('externalId'),- 'uploader_url': metadata_renderer.get('channelUrl'),+ 'channel': metadata_renderer.get('title'),+ 'channel_id': channel_id,})- if info['uploader_id']:- info['id'] = info['uploader_id']+ if info['channel_id']:+ info['id'] = info['channel_id']else:metadata_renderer = traverse_obj(data, ('metadata', 'playlistMetadataRenderer'), expected_type=dict)@@ -4904,6 +4931,15 @@ class YoutubeTabBaseInfoExtractor(YoutubeBaseInfoExtractor):'thumbnails': (primary_thumbnails or playlist_thumbnails) + avatar_thumbnails + channel_banners,})+ channel_handle = (+ traverse_obj(metadata_renderer, (('vanityChannelUrl', ('ownerUrls', ...)), {self.handle_from_url}), get_all=False)+ or traverse_obj(data, ('header', ..., 'channelHandleText', {self.handle_or_none}), get_all=False))++ if channel_handle:+ info.update({+ 'uploader_id': channel_handle,+ 'uploader_url': format_field(channel_handle, None, 'https://www.youtube.com/%s', default=None),+ })# Playlist stats is a text runs array containing [video count, view count, last updated].# last updated or (view count and last updated) may be missing.playlist_stats = get_first(@@ -4926,7 +4962,7 @@ class YoutubeTabBaseInfoExtractor(YoutubeBaseInfoExtractor):if info['playlist_count'] is None: # 0 is allowedinfo['playlist_count'] = self._get_count(playlist_header_renderer, ('byline', 0, 'playlistBylineRenderer', 'text'))- if not info.get('uploader_id'):+ if not info.get('channel_id'):owner = traverse_obj(playlist_header_renderer, 'ownerText')if not owner: # Deprecatedowner = traverse_obj(@@ -4935,16 +4971,17 @@ class YoutubeTabBaseInfoExtractor(YoutubeBaseInfoExtractor):owner_text = self._get_text(owner)browse_ep = traverse_obj(owner, ('runs', 0, 'navigationEndpoint', 'browseEndpoint')) or {}info.update({- 'uploader': self._search_regex(r'^by (.+) and \d+ others?$', owner_text, 'uploader', default=owner_text),- 'uploader_id': browse_ep.get('browseId'),- 'uploader_url': urljoin('https://www.youtube.com', browse_ep.get('canonicalBaseUrl'))+ 'channel': self._search_regex(r'^by (.+) and \d+ others?$', owner_text, 'uploader', default=owner_text),+ 'channel_id': self.ucid_or_none(browse_ep.get('browseId')),+ 'uploader_id': self.handle_from_url(urljoin('https://www.youtube.com', browse_ep.get('canonicalBaseUrl')))})info.update({- 'channel': info['uploader'],- 'channel_id': info['uploader_id'],- 'channel_url': info['uploader_url']+ 'uploader': info['channel'],+ 'channel_url': format_field(info.get('channel_id'), None, 'https://www.youtube.com/channel/%s', default=None),+ 'uploader_url': format_field(info.get('uploader_id'), None, 'https://www.youtube.com/%s', default=None),})+return infodef _extract_inline_playlist(self, playlist, playlist_id, data, ytcfg):@@ -5221,12 +5258,12 @@ class YoutubeTabIE(YoutubeTabBaseInfoExtractor):'title': 'Igor Kleiner - Playlists','description': 'md5:be97ee0f14ee314f1f002cf187166ee2','uploader': 'Igor Kleiner',- 'uploader_id': 'UCqj7Cz7revf5maW9g5pgNcg',+ 'uploader_id': '@IgorDataScience',+ 'uploader_url': 'https://www.youtube.com/@IgorDataScience','channel': 'Igor Kleiner','channel_id': 'UCqj7Cz7revf5maW9g5pgNcg','tags': ['"критическое', 'мышление"', '"наука', 'просто"', 'математика', '"анализ', 'данных"'],'channel_url': 'https://www.youtube.com/channel/UCqj7Cz7revf5maW9g5pgNcg',- 'uploader_url': 'https://www.youtube.com/channel/UCqj7Cz7revf5maW9g5pgNcg','channel_follower_count': int},}, {@@ -5237,9 +5274,9 @@ class YoutubeTabIE(YoutubeTabBaseInfoExtractor):'id': 'UCqj7Cz7revf5maW9g5pgNcg','title': 'Igor Kleiner - Playlists','description': 'md5:be97ee0f14ee314f1f002cf187166ee2',- 'uploader_id': 'UCqj7Cz7revf5maW9g5pgNcg','uploader': 'Igor Kleiner',- 'uploader_url': 'https://www.youtube.com/channel/UCqj7Cz7revf5maW9g5pgNcg',+ 'uploader_id': '@IgorDataScience',+ 'uploader_url': 'https://www.youtube.com/@IgorDataScience','tags': ['"критическое', 'мышление"', '"наука', 'просто"', 'математика', '"анализ', 'данных"'],'channel_id': 'UCqj7Cz7revf5maW9g5pgNcg','channel': 'Igor Kleiner',@@ -5254,12 +5291,12 @@ class YoutubeTabIE(YoutubeTabBaseInfoExtractor):'id': 'UCYO_jab_esuFRV4b17AJtAw','title': '3Blue1Brown - Playlists','description': 'md5:e1384e8a133307dd10edee76e875d62f',- 'uploader_id': 'UCYO_jab_esuFRV4b17AJtAw',- 'uploader': '3Blue1Brown','channel_url': 'https://www.youtube.com/channel/UCYO_jab_esuFRV4b17AJtAw',- 'uploader_url': 'https://www.youtube.com/channel/UCYO_jab_esuFRV4b17AJtAw','channel': '3Blue1Brown','channel_id': 'UCYO_jab_esuFRV4b17AJtAw',+ 'uploader_id': '@3blue1brown',+ 'uploader_url': 'https://www.youtube.com/@3blue1brown',+ 'uploader': '3Blue1Brown','tags': ['Mathematics'],'channel_follower_count': int},@@ -5272,10 +5309,10 @@ class YoutubeTabIE(YoutubeTabBaseInfoExtractor):'title': 'ThirstForScience - Playlists','description': 'md5:609399d937ea957b0f53cbffb747a14c','uploader': 'ThirstForScience',- 'uploader_id': 'UCAEtajcuhQ6an9WEzY9LEMQ',- 'uploader_url': 'https://www.youtube.com/channel/UCAEtajcuhQ6an9WEzY9LEMQ',- 'channel_url': 'https://www.youtube.com/channel/UCAEtajcuhQ6an9WEzY9LEMQ',+ 'uploader_url': 'https://www.youtube.com/@ThirstForScience',+ 'uploader_id': '@ThirstForScience','channel_id': 'UCAEtajcuhQ6an9WEzY9LEMQ',+ 'channel_url': 'https://www.youtube.com/channel/UCAEtajcuhQ6an9WEzY9LEMQ','tags': 'count:13','channel': 'ThirstForScience','channel_follower_count': int@@ -5287,8 +5324,6 @@ class YoutubeTabIE(YoutubeTabBaseInfoExtractor):'note': 'basic, single video playlist','url': 'https://www.youtube.com/playlist?list=PL4lCao7KL_QFVb7Iudeipvc2BCavECqzc','info_dict': {- 'uploader_id': 'UCmlqkdCBesrv2Lak1mF_MxA',- 'uploader': 'Sergey M.','id': 'PL4lCao7KL_QFVb7Iudeipvc2BCavECqzc','title': 'youtube-dl public playlist','description': '',@@ -5297,17 +5332,17 @@ class YoutubeTabIE(YoutubeTabBaseInfoExtractor):'modified_date': '20201130','channel': 'Sergey M.','channel_id': 'UCmlqkdCBesrv2Lak1mF_MxA',- 'uploader_url': 'https://www.youtube.com/channel/UCmlqkdCBesrv2Lak1mF_MxA','channel_url': 'https://www.youtube.com/channel/UCmlqkdCBesrv2Lak1mF_MxA','availability': 'public',+ 'uploader': 'Sergey M.',+ 'uploader_url': 'https://www.youtube.com/@sergeym.6173',+ 'uploader_id': '@sergeym.6173',},'playlist_count': 1,}, {'note': 'empty playlist','url': 'https://www.youtube.com/playlist?list=PL4lCao7KL_QFodcLWhDpGCYnngnHtQ-Xf','info_dict': {- 'uploader_id': 'UCmlqkdCBesrv2Lak1mF_MxA',- 'uploader': 'Sergey M.','id': 'PL4lCao7KL_QFodcLWhDpGCYnngnHtQ-Xf','title': 'youtube-dl empty playlist','tags': [],@@ -5316,8 +5351,10 @@ class YoutubeTabIE(YoutubeTabBaseInfoExtractor):'modified_date': '20160902','channel_id': 'UCmlqkdCBesrv2Lak1mF_MxA','channel_url': 'https://www.youtube.com/channel/UCmlqkdCBesrv2Lak1mF_MxA',- 'uploader_url': 'https://www.youtube.com/channel/UCmlqkdCBesrv2Lak1mF_MxA','availability': 'public',+ 'uploader_url': 'https://www.youtube.com/@sergeym.6173',+ 'uploader_id': '@sergeym.6173',+ 'uploader': 'Sergey M.',},'playlist_count': 0,}, {@@ -5328,10 +5365,10 @@ class YoutubeTabIE(YoutubeTabBaseInfoExtractor):'title': 'lex will - Home','description': 'md5:2163c5d0ff54ed5f598d6a7e6211e488','uploader': 'lex will',- 'uploader_id': 'UCKfVa3S1e4PHvxWcwyMMg8w',+ 'uploader_id': '@lexwill718','channel': 'lex will','tags': ['bible', 'history', 'prophesy'],- 'uploader_url': 'https://www.youtube.com/channel/UCKfVa3S1e4PHvxWcwyMMg8w',+ 'uploader_url': 'https://www.youtube.com/@lexwill718','channel_url': 'https://www.youtube.com/channel/UCKfVa3S1e4PHvxWcwyMMg8w','channel_id': 'UCKfVa3S1e4PHvxWcwyMMg8w','channel_follower_count': int@@ -5345,11 +5382,11 @@ class YoutubeTabIE(YoutubeTabBaseInfoExtractor):'title': 'lex will - Videos','description': 'md5:2163c5d0ff54ed5f598d6a7e6211e488','uploader': 'lex will',- 'uploader_id': 'UCKfVa3S1e4PHvxWcwyMMg8w',+ 'uploader_id': '@lexwill718','tags': ['bible', 'history', 'prophesy'],'channel_url': 'https://www.youtube.com/channel/UCKfVa3S1e4PHvxWcwyMMg8w','channel_id': 'UCKfVa3S1e4PHvxWcwyMMg8w',- 'uploader_url': 'https://www.youtube.com/channel/UCKfVa3S1e4PHvxWcwyMMg8w',+ 'uploader_url': 'https://www.youtube.com/@lexwill718','channel': 'lex will','channel_follower_count': int},@@ -5362,9 +5399,9 @@ class YoutubeTabIE(YoutubeTabBaseInfoExtractor):'title': 'lex will - Videos','description': 'md5:2163c5d0ff54ed5f598d6a7e6211e488','uploader': 'lex will',- 'uploader_id': 'UCKfVa3S1e4PHvxWcwyMMg8w',+ 'uploader_id': '@lexwill718','channel_id': 'UCKfVa3S1e4PHvxWcwyMMg8w',- 'uploader_url': 'https://www.youtube.com/channel/UCKfVa3S1e4PHvxWcwyMMg8w',+ 'uploader_url': 'https://www.youtube.com/@lexwill718','channel': 'lex will','tags': ['bible', 'history', 'prophesy'],'channel_url': 'https://www.youtube.com/channel/UCKfVa3S1e4PHvxWcwyMMg8w',@@ -5379,8 +5416,8 @@ class YoutubeTabIE(YoutubeTabBaseInfoExtractor):'title': 'lex will - Playlists','description': 'md5:2163c5d0ff54ed5f598d6a7e6211e488','uploader': 'lex will',- 'uploader_id': 'UCKfVa3S1e4PHvxWcwyMMg8w',- 'uploader_url': 'https://www.youtube.com/channel/UCKfVa3S1e4PHvxWcwyMMg8w',+ 'uploader_id': '@lexwill718',+ 'uploader_url': 'https://www.youtube.com/@lexwill718','channel': 'lex will','channel_url': 'https://www.youtube.com/channel/UCKfVa3S1e4PHvxWcwyMMg8w','channel_id': 'UCKfVa3S1e4PHvxWcwyMMg8w',@@ -5395,14 +5432,14 @@ class YoutubeTabIE(YoutubeTabBaseInfoExtractor):'id': 'UCKfVa3S1e4PHvxWcwyMMg8w','title': 'lex will - Community','description': 'md5:2163c5d0ff54ed5f598d6a7e6211e488',- 'uploader': 'lex will',- 'uploader_id': 'UCKfVa3S1e4PHvxWcwyMMg8w',- 'uploader_url': 'https://www.youtube.com/channel/UCKfVa3S1e4PHvxWcwyMMg8w','channel': 'lex will','channel_url': 'https://www.youtube.com/channel/UCKfVa3S1e4PHvxWcwyMMg8w','channel_id': 'UCKfVa3S1e4PHvxWcwyMMg8w','tags': ['bible', 'history', 'prophesy'],- 'channel_follower_count': int+ 'channel_follower_count': int,+ 'uploader_url': 'https://www.youtube.com/@lexwill718',+ 'uploader_id': '@lexwill718',+ 'uploader': 'lex will',},'playlist_mincount': 18,}, {@@ -5412,14 +5449,14 @@ class YoutubeTabIE(YoutubeTabBaseInfoExtractor):'id': 'UCKfVa3S1e4PHvxWcwyMMg8w','title': 'lex will - Channels','description': 'md5:2163c5d0ff54ed5f598d6a7e6211e488',- 'uploader': 'lex will',- 'uploader_id': 'UCKfVa3S1e4PHvxWcwyMMg8w',- 'uploader_url': 'https://www.youtube.com/channel/UCKfVa3S1e4PHvxWcwyMMg8w','channel': 'lex will','channel_url': 'https://www.youtube.com/channel/UCKfVa3S1e4PHvxWcwyMMg8w','channel_id': 'UCKfVa3S1e4PHvxWcwyMMg8w','tags': ['bible', 'history', 'prophesy'],- 'channel_follower_count': int+ 'channel_follower_count': int,+ 'uploader_url': 'https://www.youtube.com/@lexwill718',+ 'uploader_id': '@lexwill718',+ 'uploader': 'lex will',},'playlist_mincount': 12,}, {@@ -5430,14 +5467,14 @@ class YoutubeTabIE(YoutubeTabBaseInfoExtractor):'id': 'UCYO_jab_esuFRV4b17AJtAw','title': '3Blue1Brown - Search - linear algebra','description': 'md5:e1384e8a133307dd10edee76e875d62f',- 'uploader': '3Blue1Brown',- 'uploader_id': 'UCYO_jab_esuFRV4b17AJtAw','channel_url': 'https://www.youtube.com/channel/UCYO_jab_esuFRV4b17AJtAw',- 'uploader_url': 'https://www.youtube.com/channel/UCYO_jab_esuFRV4b17AJtAw','tags': ['Mathematics'],'channel': '3Blue1Brown','channel_id': 'UCYO_jab_esuFRV4b17AJtAw',- 'channel_follower_count': int+ 'channel_follower_count': int,+ 'uploader_url': 'https://www.youtube.com/@3blue1brown',+ 'uploader_id': '@3blue1brown',+ 'uploader': '3Blue1Brown',},}, {'url': 'https://invidio.us/channel/UCmlqkdCBesrv2Lak1mF_MxA',@@ -5454,17 +5491,17 @@ class YoutubeTabIE(YoutubeTabBaseInfoExtractor):'info_dict': {'title': '29C3: Not my department','id': 'PLwP_SiAcdui0KVebT0mU9Apz359a4ubsC',- 'uploader': 'Christiaan008',- 'uploader_id': 'UCEPzS1rYsrkqzSLNp76nrcg','description': 'md5:a14dc1a8ef8307a9807fe136a0660268','tags': [],- 'uploader_url': 'https://www.youtube.com/c/ChRiStIaAn008','view_count': int,'modified_date': '20150605','channel_id': 'UCEPzS1rYsrkqzSLNp76nrcg',- 'channel_url': 'https://www.youtube.com/c/ChRiStIaAn008',+ 'channel_url': 'https://www.youtube.com/channel/UCEPzS1rYsrkqzSLNp76nrcg','channel': 'Christiaan008','availability': 'public',+ 'uploader_id': '@ChRiStIaAn008',+ 'uploader': 'Christiaan008',+ 'uploader_url': 'https://www.youtube.com/@ChRiStIaAn008',},'playlist_count': 96,}, {@@ -5473,17 +5510,17 @@ class YoutubeTabIE(YoutubeTabBaseInfoExtractor):'info_dict': {'title': 'Uploads from Cauchemar','id': 'UUBABnxM4Ar9ten8Mdjj1j0Q',- 'uploader': 'Cauchemar',- 'uploader_id': 'UCBABnxM4Ar9ten8Mdjj1j0Q',- 'channel_url': 'https://www.youtube.com/c/Cauchemar89',+ 'channel_url': 'https://www.youtube.com/channel/UCBABnxM4Ar9ten8Mdjj1j0Q','tags': [],'modified_date': r're:\d{8}','channel': 'Cauchemar',- 'uploader_url': 'https://www.youtube.com/c/Cauchemar89','view_count': int,'description': '','channel_id': 'UCBABnxM4Ar9ten8Mdjj1j0Q','availability': 'public',+ 'uploader_id': '@Cauchemar89',+ 'uploader': 'Cauchemar',+ 'uploader_url': 'https://www.youtube.com/@Cauchemar89',},'playlist_mincount': 1123,'expected_warnings': [r'[Uu]navailable videos (are|will be) hidden'],@@ -5497,17 +5534,17 @@ class YoutubeTabIE(YoutubeTabBaseInfoExtractor):'info_dict': {'title': 'Uploads from Interstellar Movie','id': 'UUXw-G3eDE9trcvY2sBMM_aA',- 'uploader': 'Interstellar Movie',- 'uploader_id': 'UCXw-G3eDE9trcvY2sBMM_aA',- 'uploader_url': 'https://www.youtube.com/c/InterstellarMovie','tags': [],'view_count': int,'channel_id': 'UCXw-G3eDE9trcvY2sBMM_aA',- 'channel_url': 'https://www.youtube.com/c/InterstellarMovie',+ 'channel_url': 'https://www.youtube.com/channel/UCXw-G3eDE9trcvY2sBMM_aA','channel': 'Interstellar Movie','description': '','modified_date': r're:\d{8}','availability': 'public',+ 'uploader_id': '@InterstellarMovie',+ 'uploader': 'Interstellar Movie',+ 'uploader_url': 'https://www.youtube.com/@InterstellarMovie',},'playlist_mincount': 21,}, {@@ -5516,17 +5553,17 @@ class YoutubeTabIE(YoutubeTabBaseInfoExtractor):'info_dict': {'title': 'Uploads from Phim Siêu Nhân Nhật Bản','id': 'UUTYLiWFZy8xtPwxFwX9rV7Q',- 'uploader': 'Phim Siêu Nhân Nhật Bản',- 'uploader_id': 'UCTYLiWFZy8xtPwxFwX9rV7Q','view_count': int,'channel': 'Phim Siêu Nhân Nhật Bản','tags': [],- 'uploader_url': 'https://www.youtube.com/channel/UCTYLiWFZy8xtPwxFwX9rV7Q','description': '','channel_url': 'https://www.youtube.com/channel/UCTYLiWFZy8xtPwxFwX9rV7Q','channel_id': 'UCTYLiWFZy8xtPwxFwX9rV7Q','modified_date': r're:\d{8}','availability': 'public',+ 'uploader_url': 'https://www.youtube.com/@phimsieunhannhatban',+ 'uploader_id': '@phimsieunhannhatban',+ 'uploader': 'Phim Siêu Nhân Nhật Bản',},'playlist_mincount': 200,'expected_warnings': [r'[Uu]navailable videos (are|will be) hidden'],@@ -5536,17 +5573,17 @@ class YoutubeTabIE(YoutubeTabBaseInfoExtractor):'info_dict': {'title': 'Uploads from BlankTV','id': 'UU8l9frL61Yl5KFOl87nIm2w',- 'uploader': 'BlankTV',- 'uploader_id': 'UC8l9frL61Yl5KFOl87nIm2w','channel': 'BlankTV',- 'channel_url': 'https://www.youtube.com/c/blanktv',+ 'channel_url': 'https://www.youtube.com/channel/UC8l9frL61Yl5KFOl87nIm2w','channel_id': 'UC8l9frL61Yl5KFOl87nIm2w','view_count': int,'tags': [],- 'uploader_url': 'https://www.youtube.com/c/blanktv','modified_date': r're:\d{8}','description': '','availability': 'public',+ 'uploader_id': '@blanktv',+ 'uploader': 'BlankTV',+ 'uploader_url': 'https://www.youtube.com/@blanktv',},'playlist_mincount': 1000,'expected_warnings': [r'[Uu]navailable videos (are|will be) hidden'],@@ -5556,17 +5593,17 @@ class YoutubeTabIE(YoutubeTabBaseInfoExtractor):'info_dict': {'title': 'Data Analysis with Dr Mike Pound','id': 'PLzH6n4zXuckpfMu_4Ff8E7Z1behQks5ba',- 'uploader_id': 'UC9-y-6csu5WGm29I7JiwpnA',- 'uploader': 'Computerphile','description': 'md5:7f567c574d13d3f8c0954d9ffee4e487',- 'uploader_url': 'https://www.youtube.com/user/Computerphile','tags': [],'view_count': int,'channel_id': 'UC9-y-6csu5WGm29I7JiwpnA',- 'channel_url': 'https://www.youtube.com/user/Computerphile',+ 'channel_url': 'https://www.youtube.com/channel/UC9-y-6csu5WGm29I7JiwpnA','channel': 'Computerphile','availability': 'public','modified_date': '20190712',+ 'uploader_id': '@Computerphile',+ 'uploader': 'Computerphile',+ 'uploader_url': 'https://www.youtube.com/@Computerphile',},'playlist_mincount': 11,}, {@@ -5579,9 +5616,6 @@ class YoutubeTabIE(YoutubeTabBaseInfoExtractor):'id': 'FqZTN594JQw','ext': 'webm','title': "Smiley's People 01 detective, Adventure Series, Action",- 'uploader': 'STREEM',- 'uploader_id': 'UCyPhqAZgwYWZfxElWVbVJng',- 'uploader_url': r're:https?://(?:www\.)?youtube\.com/channel/UCyPhqAZgwYWZfxElWVbVJng','upload_date': '20150526','license': 'Standard YouTube License','description': 'md5:507cdcb5a49ac0da37a920ece610be80',@@ -5604,12 +5638,9 @@ class YoutubeTabIE(YoutubeTabBaseInfoExtractor):}, {'url': 'https://www.youtube.com/channel/UCoMdktPbSTixAyNGwb-UYkQ/live','info_dict': {- 'id': 'Wq15eF5vCbI', # This will keep changing+ 'id': 'AlTsmyW4auo', # This will keep changing'ext': 'mp4','title': str,- 'uploader': 'Sky News',- 'uploader_id': 'skynews',- 'uploader_url': r're:https?://(?:www\.)?youtube\.com/user/skynews','upload_date': r're:\d{8}','description': str,'categories': ['News & Politics'],@@ -5628,6 +5659,9 @@ class YoutubeTabIE(YoutubeTabBaseInfoExtractor):'channel_url': 'https://www.youtube.com/channel/UCoMdktPbSTixAyNGwb-UYkQ','channel_follower_count': int,'concurrent_view_count': int,+ 'uploader_url': 'https://www.youtube.com/@SkyNews',+ 'uploader_id': '@SkyNews',+ 'uploader': 'Sky News',},'params': {'skip_download': True,@@ -5639,9 +5673,6 @@ class YoutubeTabIE(YoutubeTabBaseInfoExtractor):'id': 'a48o2S1cPoo','ext': 'mp4','title': 'The Young Turks - Live Main Show',- 'uploader': 'The Young Turks',- 'uploader_id': 'TheYoungTurks',- 'uploader_url': r're:https?://(?:www\.)?youtube\.com/user/TheYoungTurks','upload_date': '20150715','license': 'Standard YouTube License','description': 'md5:438179573adcdff3c97ebb1ee632b891',@@ -5722,41 +5753,40 @@ class YoutubeTabIE(YoutubeTabBaseInfoExtractor):'url': 'https://music.youtube.com/browse/VLPLRBp0Fe2GpgmgoscNFLxNyBVSFVdYmFkq','info_dict': {'id': 'PLRBp0Fe2GpgmgoscNFLxNyBVSFVdYmFkq',- 'uploader': 'NoCopyrightSounds','description': 'Providing you with copyright free / safe music for gaming, live streaming, studying and more!',- 'uploader_id': 'UC_aEa8K-EOJ3D6gOs7HcyNg','title': 'NCS : All Releases 💿',- 'uploader_url': 'https://www.youtube.com/c/NoCopyrightSounds',- 'channel_url': 'https://www.youtube.com/c/NoCopyrightSounds',+ 'channel_url': 'https://www.youtube.com/channel/UC_aEa8K-EOJ3D6gOs7HcyNg','modified_date': r're:\d{8}','view_count': int,'channel_id': 'UC_aEa8K-EOJ3D6gOs7HcyNg','tags': [],'channel': 'NoCopyrightSounds','availability': 'public',+ 'uploader_url': 'https://www.youtube.com/@NoCopyrightSounds',+ 'uploader': 'NoCopyrightSounds',+ 'uploader_id': '@NoCopyrightSounds',},'playlist_mincount': 166,- 'expected_warnings': [r'[Uu]navailable videos (are|will be) hidden'],+ 'expected_warnings': [r'[Uu]navailable videos (are|will be) hidden', 'YouTube Music is not directly supported'],}, {+ # TODO: fix 'unviewable' issue with this playlist when reloading with unavailable videos'note': 'Topic, should redirect to playlist?list=UU...','url': 'https://music.youtube.com/browse/UC9ALqqC4aIeG5iDs7i90Bfw','info_dict': {'id': 'UU9ALqqC4aIeG5iDs7i90Bfw',- 'uploader_id': 'UC9ALqqC4aIeG5iDs7i90Bfw','title': 'Uploads from Royalty Free Music - Topic',- 'uploader': 'Royalty Free Music - Topic','tags': [],'channel_id': 'UC9ALqqC4aIeG5iDs7i90Bfw','channel': 'Royalty Free Music - Topic','view_count': int,'channel_url': 'https://www.youtube.com/channel/UC9ALqqC4aIeG5iDs7i90Bfw',- 'channel_url': 'https://www.youtube.com/channel/UC9ALqqC4aIeG5iDs7i90Bfw','modified_date': r're:\d{8}',- 'uploader_url': 'https://www.youtube.com/channel/UC9ALqqC4aIeG5iDs7i90Bfw','description': '','availability': 'public',+ 'uploader': 'Royalty Free Music - Topic',},'playlist_mincount': 101,+ 'expected_warnings': ['YouTube Music is not directly supported', r'[Uu]navailable videos (are|will be) hidden'],}, {# Destination channel with only a hidden self tab (tab id is UCtFRv9O2AHqOZjjynzrv-xg)# Treat as a general feed@@ -5780,12 +5810,11 @@ class YoutubeTabIE(YoutubeTabBaseInfoExtractor):'modified_date': r're:\d{8}',},'playlist_count': 50,+ 'expected_warnings': ['YouTube Music is not directly supported'],}, {'note': 'unlisted single video playlist','url': 'https://www.youtube.com/playlist?list=PLwL24UFy54GrB3s2KMMfjZscDi1x5Dajf','info_dict': {- 'uploader_id': 'UC9zHu_mHU96r19o-wV5Qs1Q',- 'uploader': 'colethedj','id': 'PLwL24UFy54GrB3s2KMMfjZscDi1x5Dajf','title': 'yt-dlp unlisted playlist test','availability': 'unlisted',@@ -5794,9 +5823,11 @@ class YoutubeTabIE(YoutubeTabBaseInfoExtractor):'channel': 'colethedj','view_count': int,'description': '',- 'uploader_url': 'https://www.youtube.com/channel/UC9zHu_mHU96r19o-wV5Qs1Q','channel_id': 'UC9zHu_mHU96r19o-wV5Qs1Q','channel_url': 'https://www.youtube.com/channel/UC9zHu_mHU96r19o-wV5Qs1Q',+ 'uploader_url': 'https://www.youtube.com/@colethedj1894',+ 'uploader_id': '@colethedj1894',+ 'uploader': 'colethedj',},'playlist_count': 1,}, {@@ -5819,13 +5850,10 @@ class YoutubeTabIE(YoutubeTabBaseInfoExtractor):'id': 'UCu6mSoMNzHQiBIOCkHUa2Aw','title': 'Cody\'sLab - Videos','description': 'md5:d083b7c2f0c67ee7a6c74c3e9b4243fa',- 'uploader': 'Cody\'sLab',- 'uploader_id': 'UCu6mSoMNzHQiBIOCkHUa2Aw','channel': 'Cody\'sLab','channel_id': 'UCu6mSoMNzHQiBIOCkHUa2Aw','tags': [],'channel_url': 'https://www.youtube.com/channel/UCu6mSoMNzHQiBIOCkHUa2Aw',- 'uploader_url': 'https://www.youtube.com/channel/UCu6mSoMNzHQiBIOCkHUa2Aw','channel_follower_count': int},'playlist_mincount': 650,@@ -5839,9 +5867,7 @@ class YoutubeTabIE(YoutubeTabBaseInfoExtractor):'url': 'https://music.youtube.com/browse/UC9ALqqC4aIeG5iDs7i90Bfw','info_dict': {'id': 'UU9ALqqC4aIeG5iDs7i90Bfw',- 'uploader_id': 'UC9ALqqC4aIeG5iDs7i90Bfw','title': 'Uploads from Royalty Free Music - Topic',- 'uploader': 'Royalty Free Music - Topic','modified_date': r're:\d{8}','channel_id': 'UC9ALqqC4aIeG5iDs7i90Bfw','description': '',@@ -5849,14 +5875,15 @@ class YoutubeTabIE(YoutubeTabBaseInfoExtractor):'tags': [],'channel': 'Royalty Free Music - Topic','view_count': int,- 'uploader_url': 'https://www.youtube.com/channel/UC9ALqqC4aIeG5iDs7i90Bfw','availability': 'public',+ 'uploader': 'Royalty Free Music - Topic',},'playlist_mincount': 101,'params': {'skip_download': True,'extractor_args': {'youtubetab': {'skip': ['webpage']}}},+ 'expected_warnings': ['YouTube Music is not directly supported', r'[Uu]navailable videos (are|will be) hidden'],}, {'note': 'non-standard redirect to regional channel','url': 'https://www.youtube.com/channel/UCwVVpHQ2Cs9iGJfpdFngePQ',@@ -5869,15 +5896,15 @@ class YoutubeTabIE(YoutubeTabBaseInfoExtractor):'modified_date': '20220407','channel_url': 'https://www.youtube.com/channel/UCKcqXmCcyqnhgpA5P0oHH_Q','tags': [],- 'uploader_id': 'UCKcqXmCcyqnhgpA5P0oHH_Q',- 'uploader': 'pukkandan','availability': 'unlisted','channel_id': 'UCKcqXmCcyqnhgpA5P0oHH_Q','channel': 'pukkandan','description': 'Test for collaborative playlist','title': 'yt-dlp test - collaborative playlist','view_count': int,- 'uploader_url': 'https://www.youtube.com/channel/UCKcqXmCcyqnhgpA5P0oHH_Q',+ 'uploader_url': 'https://www.youtube.com/@pukkandan',+ 'uploader_id': '@pukkandan',+ 'uploader': 'pukkandan',},'playlist_mincount': 2}, {@@ -5886,14 +5913,14 @@ class YoutubeTabIE(YoutubeTabBaseInfoExtractor):'info_dict': {'id': 'UCiu-3thuViMebBjw_5nWYrA','tags': [],- 'uploader_id': 'UCiu-3thuViMebBjw_5nWYrA','channel_url': 'https://www.youtube.com/channel/UCiu-3thuViMebBjw_5nWYrA','description': 'test description','title': 'cole-dlp-test-acc - 再生リスト',- 'uploader_url': 'https://www.youtube.com/channel/UCiu-3thuViMebBjw_5nWYrA',- 'uploader': 'cole-dlp-test-acc','channel_id': 'UCiu-3thuViMebBjw_5nWYrA','channel': 'cole-dlp-test-acc',+ 'uploader_url': 'https://www.youtube.com/@coletdjnz',+ 'uploader_id': '@coletdjnz',+ 'uploader': 'cole-dlp-test-acc',},'playlist_mincount': 1,'params': {'extractor_args': {'youtube': {'lang': ['ja']}}},@@ -5907,14 +5934,14 @@ class YoutubeTabIE(YoutubeTabBaseInfoExtractor):'tags': [],'view_count': int,'channel_url': 'https://www.youtube.com/channel/UCiu-3thuViMebBjw_5nWYrA',- 'uploader': 'cole-dlp-test-acc',- 'uploader_id': 'UCiu-3thuViMebBjw_5nWYrA','channel': 'cole-dlp-test-acc','channel_id': 'UCiu-3thuViMebBjw_5nWYrA','description': 'test',- 'uploader_url': 'https://www.youtube.com/channel/UCiu-3thuViMebBjw_5nWYrA','title': 'dlp test playlist','availability': 'public',+ 'uploader_url': 'https://www.youtube.com/@coletdjnz',+ 'uploader_id': '@coletdjnz',+ 'uploader': 'cole-dlp-test-acc',},'playlist_mincount': 1,'params': {'extractor_args': {'youtube': {'lang': ['ja']}}},@@ -5966,29 +5993,30 @@ class YoutubeTabIE(YoutubeTabBaseInfoExtractor):'channel_follower_count': int,'channel_id': 'UCK9V2B22uJYu3N7eR_BT9QA','channel_url': 'https://www.youtube.com/channel/UCK9V2B22uJYu3N7eR_BT9QA',- 'uploader': 'Polka Ch. 尾丸ポルカ',- 'description': 'md5:3b8df1ac5af337aa206e37ee3d181ec9',+ 'description': 'md5:e56b74b5bb7e9c701522162e9abfb822','channel': 'Polka Ch. 尾丸ポルカ','tags': 'count:35',- 'uploader_url': 'https://www.youtube.com/channel/UCK9V2B22uJYu3N7eR_BT9QA',- 'uploader_id': 'UCK9V2B22uJYu3N7eR_BT9QA',+ 'uploader_url': 'https://www.youtube.com/@OmaruPolka',+ 'uploader': 'Polka Ch. 尾丸ポルカ',+ 'uploader_id': '@OmaruPolka',},'playlist_count': 3,}, {# Shorts tab with channel with handle+ # TODO: fix channel description'url': 'https://www.youtube.com/@NotJustBikes/shorts','info_dict': {'id': 'UC0intLFzLaudFG-xAvUEO-A','title': 'Not Just Bikes - Shorts','tags': 'count:12',- 'uploader': 'Not Just Bikes','channel_url': 'https://www.youtube.com/channel/UC0intLFzLaudFG-xAvUEO-A',- 'description': 'md5:7513148b1f02b924783157d84c4ea555',+ 'description': 'md5:26bc55af26855a608a5cf89dfa595c8d','channel_follower_count': int,- 'uploader_id': 'UC0intLFzLaudFG-xAvUEO-A','channel_id': 'UC0intLFzLaudFG-xAvUEO-A',- 'uploader_url': 'https://www.youtube.com/channel/UC0intLFzLaudFG-xAvUEO-A','channel': 'Not Just Bikes',+ 'uploader_url': 'https://www.youtube.com/@NotJustBikes',+ 'uploader': 'Not Just Bikes',+ 'uploader_id': '@NotJustBikes',},'playlist_mincount': 10,}, {@@ -6000,12 +6028,12 @@ class YoutubeTabIE(YoutubeTabBaseInfoExtractor):'tags': 'count:7','channel_id': 'UC3eYAvjCVwNHgkaGbXX3sig','channel_url': 'https://www.youtube.com/channel/UC3eYAvjCVwNHgkaGbXX3sig',- 'uploader_id': 'UC3eYAvjCVwNHgkaGbXX3sig','channel': '中村悠一',- 'uploader_url': 'https://www.youtube.com/channel/UC3eYAvjCVwNHgkaGbXX3sig','channel_follower_count': int,- 'uploader': '中村悠一','description': 'md5:e744f6c93dafa7a03c0c6deecb157300',+ 'uploader_url': 'https://www.youtube.com/@Yuichi-Nakamura',+ 'uploader_id': '@Yuichi-Nakamura',+ 'uploader': '中村悠一',},'playlist_mincount': 60,}, {@@ -6024,15 +6052,15 @@ class YoutubeTabIE(YoutubeTabBaseInfoExtractor):'info_dict': {'id': 'UCgJ5_1F6yJhYLnyMszUdmUg','title': 'Shorts Break - Shorts',- 'tags': 'count:32',+ 'tags': 'count:48','channel_id': 'UCgJ5_1F6yJhYLnyMszUdmUg','channel': 'Shorts Break',- 'description': 'md5:a6c234cf3d50d878ef8721e34457cd11',- 'uploader': 'Shorts Break',+ 'description': 'md5:6de33c5e7ba686e5f3efd4e19c7ef499','channel_follower_count': int,- 'uploader_id': 'UCgJ5_1F6yJhYLnyMszUdmUg',- 'uploader_url': 'https://www.youtube.com/channel/UCgJ5_1F6yJhYLnyMszUdmUg','channel_url': 'https://www.youtube.com/channel/UCgJ5_1F6yJhYLnyMszUdmUg',+ 'uploader_url': 'https://www.youtube.com/@ShortsBreak_Official',+ 'uploader': 'Shorts Break',+ 'uploader_id': '@ShortsBreak_Official',},'playlist_mincount': 30,}, {@@ -6055,30 +6083,28 @@ class YoutubeTabIE(YoutubeTabBaseInfoExtractor):'playlist_mincount': 30,}, {# Shorts url result in shorts tab+ # TODO: Fix channel id extraction'url': 'https://www.youtube.com/channel/UCiu-3thuViMebBjw_5nWYrA/shorts','info_dict': {'id': 'UCiu-3thuViMebBjw_5nWYrA','title': 'cole-dlp-test-acc - Shorts',- 'uploader_id': 'UCiu-3thuViMebBjw_5nWYrA','channel': 'cole-dlp-test-acc','description': 'test description','channel_id': 'UCiu-3thuViMebBjw_5nWYrA','channel_url': 'https://www.youtube.com/channel/UCiu-3thuViMebBjw_5nWYrA','tags': [],+ 'uploader_url': 'https://www.youtube.com/@coletdjnz',+ 'uploader_id': '@coletdjnz','uploader': 'cole-dlp-test-acc',- 'uploader_url': 'https://www.youtube.com/channel/UCiu-3thuViMebBjw_5nWYrA',-},'playlist': [{'info_dict': {+ # Channel data is not currently available for short renderers (as of 2023-03-01)'_type': 'url','ie_key': 'Youtube','url': 'https://www.youtube.com/shorts/sSM9J5YH_60','id': 'sSM9J5YH_60',- 'channel_id': 'UCiu-3thuViMebBjw_5nWYrA','title': 'SHORT short',- 'channel': 'cole-dlp-test-acc',- 'channel_url': 'https://www.youtube.com/channel/UCiu-3thuViMebBjw_5nWYrA','view_count': int,'thumbnails': list,}@@ -6114,15 +6140,14 @@ class YoutubeTabIE(YoutubeTabBaseInfoExtractor):'info_dict': {'id': 'UCiu-3thuViMebBjw_5nWYrA','title': 'cole-dlp-test-acc - Channels',- 'uploader_id': 'UCiu-3thuViMebBjw_5nWYrA','channel': 'cole-dlp-test-acc','description': 'test description','channel_id': 'UCiu-3thuViMebBjw_5nWYrA','channel_url': 'https://www.youtube.com/channel/UCiu-3thuViMebBjw_5nWYrA','tags': [],+ 'uploader_url': 'https://www.youtube.com/@coletdjnz',+ 'uploader_id': '@coletdjnz','uploader': 'cole-dlp-test-acc',- 'uploader_url': 'https://www.youtube.com/channel/UCiu-3thuViMebBjw_5nWYrA',-},'playlist': [{'info_dict': {@@ -6136,7 +6161,10 @@ class YoutubeTabIE(YoutubeTabBaseInfoExtractor):'channel_url': 'https://www.youtube.com/channel/UC-lHJZR3Gqxm24_Vd_AJ5Yw','thumbnails': list,'channel_follower_count': int,- 'playlist_count': int+ 'playlist_count': int,+ 'uploader': 'PewDiePie',+ 'uploader_url': 'https://www.youtube.com/@PewDiePie',+ 'uploader_id': '@PewDiePie',}}],'params': {'extract_flat': True},@@ -6146,15 +6174,15 @@ class YoutubeTabIE(YoutubeTabBaseInfoExtractor):'id': 'UCYO_jab_esuFRV4b17AJtAw','tags': ['Mathematics'],'title': '3Blue1Brown - About',- 'uploader_url': 'https://www.youtube.com/channel/UCYO_jab_esuFRV4b17AJtAw','channel_follower_count': int,'channel_id': 'UCYO_jab_esuFRV4b17AJtAw',- 'uploader_id': 'UCYO_jab_esuFRV4b17AJtAw','channel': '3Blue1Brown',- 'uploader': '3Blue1Brown','view_count': int,'channel_url': 'https://www.youtube.com/channel/UCYO_jab_esuFRV4b17AJtAw','description': 'md5:e1384e8a133307dd10edee76e875d62f',+ 'uploader_url': 'https://www.youtube.com/@3blue1brown',+ 'uploader_id': '@3blue1brown',+ 'uploader': '3Blue1Brown',},'playlist_count': 0,}]@@ -6373,15 +6401,15 @@ class YoutubePlaylistIE(InfoExtractor):'title': '[OLD]Team Fortress 2 (Class-based LP)','id': 'PLBB231211A4F62143','uploader': 'Wickman',- 'uploader_id': 'UCKSpbfbl5kRQpTdL7kMc-1Q',+ 'uploader_id': '@WickmanVT','description': 'md5:8fa6f52abb47a9552002fa3ddfc57fc2','view_count': int,- 'uploader_url': 'https://www.youtube.com/c/WickmanVT',+ 'uploader_url': 'https://www.youtube.com/@WickmanVT','modified_date': r're:\d{8}','channel_id': 'UCKSpbfbl5kRQpTdL7kMc-1Q','channel': 'Wickman','tags': [],- 'channel_url': 'https://www.youtube.com/c/WickmanVT',+ 'channel_url': 'https://www.youtube.com/channel/UCKSpbfbl5kRQpTdL7kMc-1Q','availability': 'public',},'playlist_mincount': 29,@@ -6401,7 +6429,7 @@ class YoutubePlaylistIE(InfoExtractor):'title': 'JODA15','id': 'PL6IaIsEjSbf96XFRuNccS_RuEXwNdsoEu','uploader': 'milan',- 'uploader_id': 'UCEI1-PVPcYXjB73Hfelbmaw',+ 'uploader_id': '@milan5503','description': '','channel_url': 'https://www.youtube.com/channel/UCEI1-PVPcYXjB73Hfelbmaw','tags': [],@@ -6409,7 +6437,7 @@ class YoutubePlaylistIE(InfoExtractor):'view_count': int,'channel': 'milan','channel_id': 'UCEI1-PVPcYXjB73Hfelbmaw',- 'uploader_url': 'https://www.youtube.com/channel/UCEI1-PVPcYXjB73Hfelbmaw',+ 'uploader_url': 'https://www.youtube.com/@milan5503','availability': 'public',},'expected_warnings': [r'[Uu]navailable videos? (is|are|will be) hidden'],@@ -6420,13 +6448,13 @@ class YoutubePlaylistIE(InfoExtractor):'title': '2018 Chinese New Singles (11/6 updated)','id': 'PLsyOSbh5bs16vubvKePAQ1x3PhKavfBIl','uploader': 'LBK',- 'uploader_id': 'UC21nz3_MesPLqtDqwdvnoxA',+ 'uploader_id': '@music_king','description': 'md5:da521864744d60a198e3a88af4db0d9d','channel': 'LBK','view_count': int,- 'channel_url': 'https://www.youtube.com/c/愛低音的國王',+ 'channel_url': 'https://www.youtube.com/channel/UC21nz3_MesPLqtDqwdvnoxA','tags': [],- 'uploader_url': 'https://www.youtube.com/c/愛低音的國王',+ 'uploader_url': 'https://www.youtube.com/@music_king','channel_id': 'UC21nz3_MesPLqtDqwdvnoxA','modified_date': r're:\d{8}','availability': 'public',@@ -6472,8 +6500,8 @@ class YoutubeYtBeIE(InfoExtractor):'ext': 'mp4','title': 'Small Scale Baler and Braiding Rugs','uploader': 'Backus-Page House Museum',- 'uploader_id': 'backuspagemuseum',- 'uploader_url': r're:https?://(?:www\.)?youtube\.com/user/backuspagemuseum',+ 'uploader_id': '@backuspagemuseum',+ 'uploader_url': r're:https?://(?:www\.)?youtube\.com/@backuspagemuseum','upload_date': '20161008','description': 'md5:800c0c78d5eb128500bffd4f0b4f2e8a','categories': ['Nonprofits & Activism'],@@ -6481,7 +6509,7 @@ class YoutubeYtBeIE(InfoExtractor):'like_count': int,'age_limit': 0,'playable_in_embed': True,- 'thumbnail': 'https://i.ytimg.com/vi_webp/yeWKywCrFtk/maxresdefault.webp',+ 'thumbnail': r're:^https?://.*\.webp','channel': 'Backus-Page House Museum','channel_id': 'UCEfMCQ9bs3tjvjy1s451zaw','live_status': 'not_live',@@ -6597,7 +6625,7 @@ class YoutubeNotificationsIE(YoutubeTabBaseInfoExtractor):if not video_id:browse_ep = traverse_obj(notification, ('navigationEndpoint', 'browseEndpoint'), expected_type=dict)- channel_id = traverse_obj(browse_ep, 'browseId', expected_type=str)+ channel_id = self.ucid_or_none(traverse_obj(browse_ep, 'browseId', expected_type=str))post_id = self._search_regex(r'/post/(.+)', traverse_obj(browse_ep, 'canonicalBaseUrl', expected_type=str),'post id', default=None)@@ -6627,6 +6655,7 @@ class YoutubeNotificationsIE(YoutubeTabBaseInfoExtractor):'title': title,'channel_id': channel_id,'channel': channel,+ 'uploader': channel,'thumbnails': self._extract_thumbnails(notification, 'videoThumbnail'),'timestamp': timestamp,}@@ -6731,7 +6760,10 @@ class YoutubeSearchURLIE(YoutubeTabBaseInfoExtractor):'channel_id': 'UCsXVk37bltHxD1rDPwtNM8Q','playlist_count': int, # XXX: should have a way of saying > 1'channel_url': 'https://www.youtube.com/channel/UCsXVk37bltHxD1rDPwtNM8Q',- 'thumbnails': list+ 'thumbnails': list,+ 'uploader_id': '@kurzgesagt',+ 'uploader_url': 'https://www.youtube.com/@kurzgesagt',+ 'uploader': 'Kurzgesagt – In a Nutshell',}}],'params': {'extract_flat': True, 'playlist_items': '1'},@@ -6989,11 +7021,12 @@ class YoutubeClipIE(YoutubeTabBaseInfoExtractor):'title': 'Mobile Games on Console - Scott The Woz','upload_date': '20210920','uploader': 'Scott The Woz',- 'uploader_id': 'scottthewoz',- 'uploader_url': 'http://www.youtube.com/user/scottthewoz',+ 'uploader_id': '@ScottTheWoz',+ 'uploader_url': 'https://www.youtube.com/@ScottTheWoz','view_count': int,'live_status': 'not_live',- 'channel_follower_count': int+ 'channel_follower_count': int,+ 'chapters': 'count:20',}}]@@ -7031,13 +7064,13 @@ class YoutubeConsentRedirectIE(YoutubeBaseInfoExtractor):'id': 'qVv6vCqciTM','ext': 'mp4','age_limit': 0,- 'uploader_id': 'UCIdEIHpS0TdkqRkHL5OkLtA',+ 'uploader_id': '@sana_natori','comment_count': int,'chapters': 'count:13','upload_date': '20221223','thumbnail': 'https://i.ytimg.com/vi/qVv6vCqciTM/maxresdefault.jpg','channel_url': 'https://www.youtube.com/channel/UCIdEIHpS0TdkqRkHL5OkLtA',- 'uploader_url': 'http://www.youtube.com/channel/UCIdEIHpS0TdkqRkHL5OkLtA',+ 'uploader_url': 'https://www.youtube.com/@sana_natori','like_count': int,'release_date': '20221223','tags': ['Vtuber', '月ノ美兎', '名取さな', 'にじさんじ', 'クリスマス', '3D配信'],