From: Sergey M․ Date: Thu, 16 Apr 2015 15:28:21 +0000 (+0600) Subject: [srf] Fix direct links ext X-Git-Url: https://git.cielonegro.org/gitweb.cgi?a=commitdiff_plain;h=fbbb2194097afcc3d3fb4f28888279f1b970b253;p=youtube-dl.git [srf] Fix direct links ext --- 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,