From fbbb2194097afcc3d3fb4f28888279f1b970b253 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergey=20M=E2=80=A4?= Date: Thu, 16 Apr 2015 21:28:21 +0600 Subject: [PATCH] [srf] Fix direct links ext --- youtube_dl/extractor/srf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 @@ def _real_extract(self, url): 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,