1
0
Fork 0
mirror of https://gitlab.com/dstftw/youtube-dl.git synced 2020-11-16 09:42: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,