mirror of
				https://gitlab.com/ytdl-org/youtube-dl.git
				synced 2025-11-04 07:57:07 -05:00 
			
		
		
		
	update tests related to the change in youtube http format sorting
the change was done in 82156fdbf0
			
			
This commit is contained in:
		@@ -14,7 +14,7 @@ class FreespeechIE(InfoExtractor):
 | 
			
		||||
        'url': 'https://www.freespeech.org/video/obama-romney-campaign-colorado-ahead-debate-0',
 | 
			
		||||
        'info_dict': {
 | 
			
		||||
            'id': 'poKsVCZ64uU',
 | 
			
		||||
            'ext': 'mp4',
 | 
			
		||||
            'ext': 'webm',
 | 
			
		||||
            'title': 'Obama, Romney Campaign in Colorado Ahead of Debate',
 | 
			
		||||
            'description': 'Obama, Romney Campaign in Colorado Ahead of Debate',
 | 
			
		||||
            'uploader': 'freespeechtv',
 | 
			
		||||
 
 | 
			
		||||
@@ -14,10 +14,10 @@ class KhanAcademyIE(InfoExtractor):
 | 
			
		||||
 | 
			
		||||
    _TESTS = [{
 | 
			
		||||
        'url': 'http://www.khanacademy.org/video/one-time-pad',
 | 
			
		||||
        'md5': '7021db7f2d47d4fff89b13177cb1e8f4',
 | 
			
		||||
        'md5': '7b391cce85e758fb94f763ddc1bbb979',
 | 
			
		||||
        'info_dict': {
 | 
			
		||||
            'id': 'one-time-pad',
 | 
			
		||||
            'ext': 'mp4',
 | 
			
		||||
            'ext': 'webm',
 | 
			
		||||
            'title': 'The one-time pad',
 | 
			
		||||
            'description': 'The perfect cipher',
 | 
			
		||||
            'duration': 176,
 | 
			
		||||
 
 | 
			
		||||
@@ -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/',
 | 
			
		||||
            'info_dict': {
 | 
			
		||||
                'id': 'EObHWIEKGjA',
 | 
			
		||||
                'ext': 'mp4',
 | 
			
		||||
                'ext': 'webm',
 | 
			
		||||
                'title': 'Lecture 7: Multiple Discrete Random Variables: Expectations, Conditioning, Independence',
 | 
			
		||||
                'description': 'In this lecture, the professor discussed multiple random variables, expectations, and binomial distribution.',
 | 
			
		||||
                'upload_date': '20121109',
 | 
			
		||||
 
 | 
			
		||||
@@ -12,10 +12,10 @@ class PyvideoIE(InfoExtractor):
 | 
			
		||||
    _TESTS = [
 | 
			
		||||
        {
 | 
			
		||||
            'url': 'http://pyvideo.org/video/1737/become-a-logging-expert-in-30-minutes',
 | 
			
		||||
            'md5': 'de317418c8bc76b1fd8633e4f32acbc6',
 | 
			
		||||
            'md5': '520915673e53a5c5d487c36e0c4d85b5',
 | 
			
		||||
            'info_dict': {
 | 
			
		||||
                'id': '24_4WWkSmNo',
 | 
			
		||||
                'ext': 'mp4',
 | 
			
		||||
                'ext': 'webm',
 | 
			
		||||
                'title': 'Become a logging expert in 30 minutes',
 | 
			
		||||
                'description': 'md5:9665350d466c67fb5b1598de379021f7',
 | 
			
		||||
                'upload_date': '20130320',
 | 
			
		||||
 
 | 
			
		||||
@@ -73,7 +73,7 @@ class TEDIE(InfoExtractor):
 | 
			
		||||
        'add_ie': ['Youtube'],
 | 
			
		||||
        'info_dict': {
 | 
			
		||||
            'id': '_ZG8HBuDjgc',
 | 
			
		||||
            'ext': 'mp4',
 | 
			
		||||
            'ext': 'webm',
 | 
			
		||||
            'title': 'Douglas Adams: Parrots the Universe and Everything',
 | 
			
		||||
            'description': 'md5:01ad1e199c49ac640cb1196c0e9016af',
 | 
			
		||||
            'uploader': 'University of California Television (UCTV)',
 | 
			
		||||
 
 | 
			
		||||
@@ -176,13 +176,13 @@ class VikiIE(VikiBaseIE):
 | 
			
		||||
    }, {
 | 
			
		||||
        # youtube external
 | 
			
		||||
        'url': 'http://www.viki.com/videos/50562v-poor-nastya-complete-episode-1',
 | 
			
		||||
        'md5': '216d1afdc0c64d1febc1e9f2bd4b864b',
 | 
			
		||||
        'md5': '63f8600c1da6f01b7640eee7eca4f1da',
 | 
			
		||||
        'info_dict': {
 | 
			
		||||
            'id': '50562v',
 | 
			
		||||
            'ext': 'mp4',
 | 
			
		||||
            'ext': 'webm',
 | 
			
		||||
            'title': 'Poor Nastya [COMPLETE] - Episode 1',
 | 
			
		||||
            'description': '',
 | 
			
		||||
            'duration': 607,
 | 
			
		||||
            'duration': 606,
 | 
			
		||||
            'timestamp': 1274949505,
 | 
			
		||||
            'upload_date': '20101213',
 | 
			
		||||
            'uploader': 'ad14065n',
 | 
			
		||||
 
 | 
			
		||||
@@ -142,10 +142,10 @@ class VKIE(InfoExtractor):
 | 
			
		||||
            'url': 'https://vk.com/video276849682_170681728',
 | 
			
		||||
            'info_dict': {
 | 
			
		||||
                'id': 'V3K4mi0SYkc',
 | 
			
		||||
                'ext': 'mp4',
 | 
			
		||||
                'ext': 'webm',
 | 
			
		||||
                'title': "DSWD Awards 'Children's Joy Foundation, Inc.' Certificate of Registration and License to Operate",
 | 
			
		||||
                'description': 'md5:bf9c26cfa4acdfb146362682edd3827a',
 | 
			
		||||
                'duration': 179,
 | 
			
		||||
                'duration': 178,
 | 
			
		||||
                'upload_date': '20130116',
 | 
			
		||||
                'uploader': "Children's Joy Foundation",
 | 
			
		||||
                'uploader_id': 'thecjf',
 | 
			
		||||
 
 | 
			
		||||
@@ -20,7 +20,7 @@ class WimpIE(InfoExtractor):
 | 
			
		||||
        'md5': '4e2986c793694b55b37cf92521d12bb4',
 | 
			
		||||
        'info_dict': {
 | 
			
		||||
            'id': 'clowncar',
 | 
			
		||||
            'ext': 'mp4',
 | 
			
		||||
            'ext': 'webm',
 | 
			
		||||
            'title': 'It\'s like a clown car.',
 | 
			
		||||
            'description': 'md5:0e56db1370a6e49c5c1d19124c0d2fb2',
 | 
			
		||||
        },
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user