projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[srf] Fix direct links ext
[youtube-dl]
/
youtube_dl
/
extractor
/
srf.py
diff --git
a/youtube_dl/extractor/srf.py
b/youtube_dl/extractor/srf.py
index a080eb7ca7251467e25f085594ab9cdd5111704c..2ac55dcd18545873480869dcc9b7ff0b122913e7 100644
(file)
--- 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,