[srf] Fix direct links ext
authorSergey M․ <dstftw@gmail.com>
Thu, 16 Apr 2015 15:28:21 +0000 (21:28 +0600)
committerSergey M․ <dstftw@gmail.com>
Thu, 16 Apr 2015 15:28:21 +0000 (21:28 +0600)
youtube_dl/extractor/srf.py

index a080eb7ca7251467e25f085594ab9cdd5111704c..2ac55dcd18545873480869dcc9b7ff0b122913e7 100644 (file)
@@ -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,