1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-12-23 09:17:48 +00:00

[srf] Fix direct links ext

This commit is contained in:
Sergey M․ 2015-04-16 21:28:21 +06:00
parent 820b064804
commit fbbb219409

View file

@ -75,7 +75,7 @@ class SrfIE(InfoExtractor):
else: else:
formats.append({ formats.append({
'url': full_url, 'url': full_url,
'ext': 'mp4' if original_ext == 'm3u8' else original_ext, 'ext': original_ext,
'format_id': format_id, 'format_id': format_id,
'quality': 0 if 'HD' in quality else -1, 'quality': 0 if 'HD' in quality else -1,
'preference': 1, 'preference': 1,