mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-11-19 03:55:27 +00:00
[srf] Fix direct links ext
This commit is contained in:
parent
820b064804
commit
fbbb219409
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user