projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
820b064
)
[srf] Fix direct links ext
author
Sergey M․
<dstftw@gmail.com>
Thu, 16 Apr 2015 15:28:21 +0000
(21:28 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Thu, 16 Apr 2015 15:28:21 +0000
(21:28 +0600)
youtube_dl/extractor/srf.py
patch
|
blob
|
history
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,