1
0
mirror of https://github.com/l1ving/youtube-dl synced 2024-12-30 22:32:50 +08:00

[extractor/generic] Add test for large compressed media

This commit is contained in:
Sergey M․ 2015-05-31 02:13:24 +06:00
parent 1ddb9456c4
commit a074e92296

View File

@ -138,6 +138,20 @@ class GenericIE(InfoExtractor):
'upload_date': '20100513', 'upload_date': '20100513',
} }
}, },
# Direct link to a media delivered compressed (requires Accept-Encoding == *)
{
'url': 'http://calimero.tk/muzik/FictionJunction-Parallel_Hearts.flac',
'md5': '128c42e68b13950268b648275386fc74',
'info_dict': {
'id': 'FictionJunction-Parallel_Hearts',
'ext': 'flac',
'title': 'FictionJunction-Parallel_Hearts',
'upload_date': '20140522',
},
'expected_warnings': [
'URL could be a direct video link, returning it as such.'
]
},
# ooyala video # ooyala video
{ {
'url': 'http://www.rollingstone.com/music/videos/norwegian-dj-cashmere-cat-goes-spartan-on-with-me-premiere-20131219', 'url': 'http://www.rollingstone.com/music/videos/norwegian-dj-cashmere-cat-goes-spartan-on-with-me-premiere-20131219',