diff options
author | Sergey M․ <dstftw@gmail.com> | 2015-04-16 21:28:21 +0600 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2015-04-16 21:28:21 +0600 |
commit | fbbb2194097afcc3d3fb4f28888279f1b970b253 (patch) | |
tree | ddce3be8e6d21d68acb674b2f067282a29f6348d | |
parent | 820b06480493ab1b3c146c3edfc2c89fc80061cc (diff) |
[srf] Fix direct links ext
-rw-r--r-- | youtube_dl/extractor/srf.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/srf.py b/youtube_dl/extractor/srf.py index a080eb7ca..2ac55dcd1 100644 --- a/youtube_dl/extractor/srf.py +++ b/youtube_dl/extractor/srf.py @@ -75,7 +75,7 @@ class SrfIE(InfoExtractor): else: formats.append({ 'url': full_url, - 'ext': 'mp4' if original_ext == 'm3u8' else original_ext, + 'ext': original_ext, 'format_id': format_id, 'quality': 0 if 'HD' in quality else -1, 'preference': 1, |