1
0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-07 09:57:26 +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:
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,