1
0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-28 09:30:57 +01:00

update tests related to the change in youtube http format sorting

the change was done in 82156fdbf0
This commit is contained in:
remitamine 2016-03-05 21:52:24 +01:00
parent 1db772673e
commit f22ba4bd60
8 changed files with 14 additions and 14 deletions

View File

@ -14,7 +14,7 @@ class FreespeechIE(InfoExtractor):
'url': 'https://www.freespeech.org/video/obama-romney-campaign-colorado-ahead-debate-0', 'url': 'https://www.freespeech.org/video/obama-romney-campaign-colorado-ahead-debate-0',
'info_dict': { 'info_dict': {
'id': 'poKsVCZ64uU', 'id': 'poKsVCZ64uU',
'ext': 'mp4', 'ext': 'webm',
'title': 'Obama, Romney Campaign in Colorado Ahead of Debate', 'title': 'Obama, Romney Campaign in Colorado Ahead of Debate',
'description': 'Obama, Romney Campaign in Colorado Ahead of Debate', 'description': 'Obama, Romney Campaign in Colorado Ahead of Debate',
'uploader': 'freespeechtv', 'uploader': 'freespeechtv',

View File

@ -14,10 +14,10 @@ class KhanAcademyIE(InfoExtractor):
_TESTS = [{ _TESTS = [{
'url': 'http://www.khanacademy.org/video/one-time-pad', 'url': 'http://www.khanacademy.org/video/one-time-pad',
'md5': '7021db7f2d47d4fff89b13177cb1e8f4', 'md5': '7b391cce85e758fb94f763ddc1bbb979',
'info_dict': { 'info_dict': {
'id': 'one-time-pad', 'id': 'one-time-pad',
'ext': 'mp4', 'ext': 'webm',
'title': 'The one-time pad', 'title': 'The one-time pad',
'description': 'The perfect cipher', 'description': 'The perfect cipher',
'duration': 176, 'duration': 176,

View File

@ -99,7 +99,7 @@ class OCWMITIE(InfoExtractor):
'url': 'http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-041-probabilistic-systems-analysis-and-applied-probability-fall-2010/video-lectures/lecture-7-multiple-variables-expectations-independence/', 'url': 'http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-041-probabilistic-systems-analysis-and-applied-probability-fall-2010/video-lectures/lecture-7-multiple-variables-expectations-independence/',
'info_dict': { 'info_dict': {
'id': 'EObHWIEKGjA', 'id': 'EObHWIEKGjA',
'ext': 'mp4', 'ext': 'webm',
'title': 'Lecture 7: Multiple Discrete Random Variables: Expectations, Conditioning, Independence', 'title': 'Lecture 7: Multiple Discrete Random Variables: Expectations, Conditioning, Independence',
'description': 'In this lecture, the professor discussed multiple random variables, expectations, and binomial distribution.', 'description': 'In this lecture, the professor discussed multiple random variables, expectations, and binomial distribution.',
'upload_date': '20121109', 'upload_date': '20121109',

View File

@ -12,10 +12,10 @@ class PyvideoIE(InfoExtractor):
_TESTS = [ _TESTS = [
{ {
'url': 'http://pyvideo.org/video/1737/become-a-logging-expert-in-30-minutes', 'url': 'http://pyvideo.org/video/1737/become-a-logging-expert-in-30-minutes',
'md5': 'de317418c8bc76b1fd8633e4f32acbc6', 'md5': '520915673e53a5c5d487c36e0c4d85b5',
'info_dict': { 'info_dict': {
'id': '24_4WWkSmNo', 'id': '24_4WWkSmNo',
'ext': 'mp4', 'ext': 'webm',
'title': 'Become a logging expert in 30 minutes', 'title': 'Become a logging expert in 30 minutes',
'description': 'md5:9665350d466c67fb5b1598de379021f7', 'description': 'md5:9665350d466c67fb5b1598de379021f7',
'upload_date': '20130320', 'upload_date': '20130320',

View File

@ -73,7 +73,7 @@ class TEDIE(InfoExtractor):
'add_ie': ['Youtube'], 'add_ie': ['Youtube'],
'info_dict': { 'info_dict': {
'id': '_ZG8HBuDjgc', 'id': '_ZG8HBuDjgc',
'ext': 'mp4', 'ext': 'webm',
'title': 'Douglas Adams: Parrots the Universe and Everything', 'title': 'Douglas Adams: Parrots the Universe and Everything',
'description': 'md5:01ad1e199c49ac640cb1196c0e9016af', 'description': 'md5:01ad1e199c49ac640cb1196c0e9016af',
'uploader': 'University of California Television (UCTV)', 'uploader': 'University of California Television (UCTV)',

View File

@ -176,13 +176,13 @@ class VikiIE(VikiBaseIE):
}, { }, {
# youtube external # youtube external
'url': 'http://www.viki.com/videos/50562v-poor-nastya-complete-episode-1', 'url': 'http://www.viki.com/videos/50562v-poor-nastya-complete-episode-1',
'md5': '216d1afdc0c64d1febc1e9f2bd4b864b', 'md5': '63f8600c1da6f01b7640eee7eca4f1da',
'info_dict': { 'info_dict': {
'id': '50562v', 'id': '50562v',
'ext': 'mp4', 'ext': 'webm',
'title': 'Poor Nastya [COMPLETE] - Episode 1', 'title': 'Poor Nastya [COMPLETE] - Episode 1',
'description': '', 'description': '',
'duration': 607, 'duration': 606,
'timestamp': 1274949505, 'timestamp': 1274949505,
'upload_date': '20101213', 'upload_date': '20101213',
'uploader': 'ad14065n', 'uploader': 'ad14065n',

View File

@ -142,10 +142,10 @@ class VKIE(InfoExtractor):
'url': 'https://vk.com/video276849682_170681728', 'url': 'https://vk.com/video276849682_170681728',
'info_dict': { 'info_dict': {
'id': 'V3K4mi0SYkc', 'id': 'V3K4mi0SYkc',
'ext': 'mp4', 'ext': 'webm',
'title': "DSWD Awards 'Children's Joy Foundation, Inc.' Certificate of Registration and License to Operate", 'title': "DSWD Awards 'Children's Joy Foundation, Inc.' Certificate of Registration and License to Operate",
'description': 'md5:bf9c26cfa4acdfb146362682edd3827a', 'description': 'md5:bf9c26cfa4acdfb146362682edd3827a',
'duration': 179, 'duration': 178,
'upload_date': '20130116', 'upload_date': '20130116',
'uploader': "Children's Joy Foundation", 'uploader': "Children's Joy Foundation",
'uploader_id': 'thecjf', 'uploader_id': 'thecjf',

View File

@ -20,7 +20,7 @@ class WimpIE(InfoExtractor):
'md5': '4e2986c793694b55b37cf92521d12bb4', 'md5': '4e2986c793694b55b37cf92521d12bb4',
'info_dict': { 'info_dict': {
'id': 'clowncar', 'id': 'clowncar',
'ext': 'mp4', 'ext': 'webm',
'title': 'It\'s like a clown car.', 'title': 'It\'s like a clown car.',
'description': 'md5:0e56db1370a6e49c5c1d19124c0d2fb2', 'description': 'md5:0e56db1370a6e49c5c1d19124c0d2fb2',
}, },