mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-15 07:42:42 +00:00
[youtube] Update tests
This commit is contained in:
parent
7e72694b5e
commit
eb6793ba97
1 changed files with 15 additions and 12 deletions
|
@ -601,7 +601,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
|
||||||
'id': 'IB3lcPjvWLA',
|
'id': 'IB3lcPjvWLA',
|
||||||
'ext': 'm4a',
|
'ext': 'm4a',
|
||||||
'title': 'Afrojack, Spree Wilson - The Spark ft. Spree Wilson',
|
'title': 'Afrojack, Spree Wilson - The Spark ft. Spree Wilson',
|
||||||
'description': 'md5:12e7067fa6735a77bdcbb58cb1187d2d',
|
'description': 'md5:1900ed86ee514927b9e00fbead6969a5',
|
||||||
'duration': 244,
|
'duration': 244,
|
||||||
'uploader': 'AfrojackVEVO',
|
'uploader': 'AfrojackVEVO',
|
||||||
'uploader_id': 'AfrojackVEVO',
|
'uploader_id': 'AfrojackVEVO',
|
||||||
|
@ -642,7 +642,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
|
||||||
'ext': 'mp4',
|
'ext': 'mp4',
|
||||||
'duration': 219,
|
'duration': 219,
|
||||||
'upload_date': '20100909',
|
'upload_date': '20100909',
|
||||||
'uploader': 'The Amazing Atheist',
|
'uploader': 'TJ Kirk',
|
||||||
'uploader_id': 'TheAmazingAtheist',
|
'uploader_id': 'TheAmazingAtheist',
|
||||||
'uploader_url': r're:https?://(?:www\.)?youtube\.com/user/TheAmazingAtheist',
|
'uploader_url': r're:https?://(?:www\.)?youtube\.com/user/TheAmazingAtheist',
|
||||||
'license': 'Standard YouTube License',
|
'license': 'Standard YouTube License',
|
||||||
|
@ -672,10 +672,10 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
|
||||||
'url': 'https://www.youtube.com/watch?v=6kLq3WMV1nU',
|
'url': 'https://www.youtube.com/watch?v=6kLq3WMV1nU',
|
||||||
'info_dict': {
|
'info_dict': {
|
||||||
'id': '6kLq3WMV1nU',
|
'id': '6kLq3WMV1nU',
|
||||||
'ext': 'mp4',
|
'ext': 'webm',
|
||||||
'title': 'Dedication To My Ex (Miss That) (Lyric Video)',
|
'title': 'Dedication To My Ex (Miss That) (Lyric Video)',
|
||||||
'description': 'md5:33765bb339e1b47e7e72b5490139bb41',
|
'description': 'md5:33765bb339e1b47e7e72b5490139bb41',
|
||||||
'duration': 247,
|
'duration': 246,
|
||||||
'uploader': 'LloydVEVO',
|
'uploader': 'LloydVEVO',
|
||||||
'uploader_id': 'LloydVEVO',
|
'uploader_id': 'LloydVEVO',
|
||||||
'uploader_url': r're:https?://(?:www\.)?youtube\.com/user/LloydVEVO',
|
'uploader_url': r're:https?://(?:www\.)?youtube\.com/user/LloydVEVO',
|
||||||
|
@ -737,7 +737,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
|
||||||
'uploader_id': 'AllenMeow',
|
'uploader_id': 'AllenMeow',
|
||||||
'uploader_url': r're:https?://(?:www\.)?youtube\.com/user/AllenMeow',
|
'uploader_url': r're:https?://(?:www\.)?youtube\.com/user/AllenMeow',
|
||||||
'description': 'made by Wacom from Korea | 字幕&加油添醋 by TY\'s Allen | 感謝heylisa00cavey1001同學熱情提供梗及翻譯',
|
'description': 'made by Wacom from Korea | 字幕&加油添醋 by TY\'s Allen | 感謝heylisa00cavey1001同學熱情提供梗及翻譯',
|
||||||
'uploader': '孫艾倫',
|
'uploader': '孫ᄋᄅ',
|
||||||
'license': 'Standard YouTube License',
|
'license': 'Standard YouTube License',
|
||||||
'title': '[A-made] 變態妍字幕版 太妍 我就是這樣的人',
|
'title': '[A-made] 變態妍字幕版 太妍 我就是這樣的人',
|
||||||
},
|
},
|
||||||
|
@ -764,7 +764,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
|
||||||
'url': 'https://www.youtube.com/watch?v=FIl7x6_3R5Y',
|
'url': 'https://www.youtube.com/watch?v=FIl7x6_3R5Y',
|
||||||
'info_dict': {
|
'info_dict': {
|
||||||
'id': 'FIl7x6_3R5Y',
|
'id': 'FIl7x6_3R5Y',
|
||||||
'ext': 'mp4',
|
'ext': 'webm',
|
||||||
'title': 'md5:7b81415841e02ecd4313668cde88737a',
|
'title': 'md5:7b81415841e02ecd4313668cde88737a',
|
||||||
'description': 'md5:116377fd2963b81ec4ce64b542173306',
|
'description': 'md5:116377fd2963b81ec4ce64b542173306',
|
||||||
'duration': 220,
|
'duration': 220,
|
||||||
|
@ -773,8 +773,9 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
|
||||||
'uploader_url': r're:https?://(?:www\.)?youtube\.com/user/dorappi2000',
|
'uploader_url': r're:https?://(?:www\.)?youtube\.com/user/dorappi2000',
|
||||||
'uploader': 'dorappi2000',
|
'uploader': 'dorappi2000',
|
||||||
'license': 'Standard YouTube License',
|
'license': 'Standard YouTube License',
|
||||||
'formats': 'mincount:32',
|
'formats': 'mincount:31',
|
||||||
},
|
},
|
||||||
|
'skip': 'not actual anymore',
|
||||||
},
|
},
|
||||||
# DASH manifest with segment_list
|
# DASH manifest with segment_list
|
||||||
{
|
{
|
||||||
|
@ -889,7 +890,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
|
||||||
'id': 'lsguqyKfVQg',
|
'id': 'lsguqyKfVQg',
|
||||||
'ext': 'mp4',
|
'ext': 'mp4',
|
||||||
'title': '{dark walk}; Loki/AC/Dishonored; collab w/Elflover21',
|
'title': '{dark walk}; Loki/AC/Dishonored; collab w/Elflover21',
|
||||||
'alt_title': 'Dark Walk',
|
'alt_title': 'Dark Walk - Position Music',
|
||||||
'description': 'md5:8085699c11dc3f597ce0410b0dcbb34a',
|
'description': 'md5:8085699c11dc3f597ce0410b0dcbb34a',
|
||||||
'duration': 133,
|
'duration': 133,
|
||||||
'upload_date': '20151119',
|
'upload_date': '20151119',
|
||||||
|
@ -897,7 +898,9 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
|
||||||
'uploader_url': r're:https?://(?:www\.)?youtube\.com/user/IronSoulElf',
|
'uploader_url': r're:https?://(?:www\.)?youtube\.com/user/IronSoulElf',
|
||||||
'uploader': 'IronSoulElf',
|
'uploader': 'IronSoulElf',
|
||||||
'license': 'Standard YouTube License',
|
'license': 'Standard YouTube License',
|
||||||
'creator': 'Todd Haberman, Daniel Law Heath & Aaron Kaplan',
|
'creator': 'Todd Haberman, Daniel Law Heath and Aaron Kaplan',
|
||||||
|
'track': 'Dark Walk - Position Music',
|
||||||
|
'artist': 'Todd Haberman, Daniel Law Heath and Aaron Kaplan',
|
||||||
},
|
},
|
||||||
'params': {
|
'params': {
|
||||||
'skip_download': True,
|
'skip_download': True,
|
||||||
|
@ -954,7 +957,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
|
||||||
'description': 'md5:dda0d780d5a6e120758d1711d062a867',
|
'description': 'md5:dda0d780d5a6e120758d1711d062a867',
|
||||||
'duration': 4060,
|
'duration': 4060,
|
||||||
'upload_date': '20151119',
|
'upload_date': '20151119',
|
||||||
'uploader': 'Bernie 2016',
|
'uploader': 'Bernie Sanders',
|
||||||
'uploader_id': 'UCH1dpzjCEiGAt8CXkryhkZg',
|
'uploader_id': 'UCH1dpzjCEiGAt8CXkryhkZg',
|
||||||
'uploader_url': r're:https?://(?:www\.)?youtube\.com/channel/UCH1dpzjCEiGAt8CXkryhkZg',
|
'uploader_url': r're:https?://(?:www\.)?youtube\.com/channel/UCH1dpzjCEiGAt8CXkryhkZg',
|
||||||
'license': 'Creative Commons Attribution license (reuse allowed)',
|
'license': 'Creative Commons Attribution license (reuse allowed)',
|
||||||
|
@ -989,6 +992,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
|
||||||
'params': {
|
'params': {
|
||||||
'skip_download': True,
|
'skip_download': True,
|
||||||
},
|
},
|
||||||
|
'skip': 'This video is not available.',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
# YouTube Red video with episode data
|
# YouTube Red video with episode data
|
||||||
|
@ -997,7 +1001,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
|
||||||
'id': 'iqKdEhx-dD4',
|
'id': 'iqKdEhx-dD4',
|
||||||
'ext': 'mp4',
|
'ext': 'mp4',
|
||||||
'title': 'Isolation - Mind Field (Ep 1)',
|
'title': 'Isolation - Mind Field (Ep 1)',
|
||||||
'description': 'md5:8013b7ddea787342608f63a13ddc9492',
|
'description': 'md5:25b78d2f64ae81719f5c96319889b736',
|
||||||
'duration': 2085,
|
'duration': 2085,
|
||||||
'upload_date': '20170118',
|
'upload_date': '20170118',
|
||||||
'uploader': 'Vsauce',
|
'uploader': 'Vsauce',
|
||||||
|
@ -1030,7 +1034,6 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
|
||||||
'uploader_id': 'UCEJYpZGqgUob0zVVEaLhvVg',
|
'uploader_id': 'UCEJYpZGqgUob0zVVEaLhvVg',
|
||||||
'uploader_url': r're:https?://(?:www\.)?youtube\.com/channel/UCEJYpZGqgUob0zVVEaLhvVg',
|
'uploader_url': r're:https?://(?:www\.)?youtube\.com/channel/UCEJYpZGqgUob0zVVEaLhvVg',
|
||||||
'license': 'Standard YouTube License',
|
'license': 'Standard YouTube License',
|
||||||
'view_count': int,
|
|
||||||
},
|
},
|
||||||
'params': {
|
'params': {
|
||||||
'skip_download': True,
|
'skip_download': True,
|
||||||
|
|
Loading…
Reference in a new issue