diff --git a/yt_dlp/extractor/youtube/_video.py b/yt_dlp/extractor/youtube/_video.py index 074a2a0d8d..8dce74483c 100644 --- a/yt_dlp/extractor/youtube/_video.py +++ b/yt_dlp/extractor/youtube/_video.py @@ -1758,6 +1758,47 @@ class YoutubeIE(YoutubeBaseInfoExtractor): 'params': { 'skip_download': True, }, + }, { # Youtube RSS feed + 'url': 'https://www.youtube.com/feeds/videos.xml?channel_id=UC7_gcs09iThXybpVgjHZ_7g', + 'md5': '7d66034582204a3ac425c71eb6b7b6e0', + 'info_dict': { + 'id': 'videos', + 'title': 'PBS Space Time', + 'age_limit': 0, + }, + 'playlist_count': 15, + 'playlist': [{ + 'info_dict': { + 'id': str, + 'title': str, + 'ext': 'mp4', + 'upload_date': str, + 'description': str, + 'age_limit': 0, + 'tags': list, + 'channel_id': 'UC7_gcs09iThXybpVgjHZ_7g', + 'playable_in_embed': True, + 'thumbnail': r're:https://.+\.jpg', + 'like_count': int, + 'comment_count': int, + 'channel': 'PBS Space Time', + 'live_status': 'not_live', + 'channel_url': 'https://www.youtube.com/channel/UC7_gcs09iThXybpVgjHZ_7g', + 'availability': 'public', + 'duration': int, + 'view_count': int, + 'categories': list, + 'channel_follower_count': int, + 'uploader': 'PBS Space Time', + 'uploader_url': 'https://www.youtube.com/@pbsspacetime', + 'uploader_id': '@pbsspacetime', + 'timestamp': int, + 'channel_is_verified': True, + } + }], + 'params': { + 'skip_download': True, + }, }, ] @@ -2399,11 +2440,12 @@ class YoutubeIE(YoutubeBaseInfoExtractor): # Invidious Instances # https://github.com/yt-dlp/yt-dlp/issues/195 # https://github.com/iv-org/invidious/pull/1730 - mobj = re.search( + matches = re.findall( r'