aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-05-31 02:13:24 +0600
committerSergey M․ <dstftw@gmail.com>2015-05-31 02:13:24 +0600
commita074e922967fa571d4f1abb1773c711747060f00 (patch)
tree21fde7ea9d27ba3ea66e12823833daf576b3217f
parent1ddb9456c4a63a207ec40bd74cdf0b36d8c68409 (diff)
[extractor/generic] Add test for large compressed media
-rw-r--r--youtube_dl/extractor/generic.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/youtube_dl/extractor/generic.py b/youtube_dl/extractor/generic.py
index d9116ce10..737141f95 100644
--- a/youtube_dl/extractor/generic.py
+++ b/youtube_dl/extractor/generic.py
@@ -138,6 +138,20 @@ class GenericIE(InfoExtractor):
'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
{
'url': 'http://www.rollingstone.com/music/videos/norwegian-dj-cashmere-cat-goes-spartan-on-with-me-premiere-20131219',