projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove _sort_formats from _extract_*_formats methods
[youtube-dl]
/
youtube_dl
/
extractor
/
rtvnh.py
diff --git
a/youtube_dl/extractor/rtvnh.py
b/youtube_dl/extractor/rtvnh.py
index 7c9d4b0cd6fe09d4e792df3da25c2059f9b056e6..4896d09d666e687010ae3cb6ebe0e2bfaec537d6 100644
(file)
--- a/
youtube_dl/extractor/rtvnh.py
+++ b/
youtube_dl/extractor/rtvnh.py
@@
-38,6
+38,7
@@
class RTVNHIE(InfoExtractor):
item['file'], video_id, ext='mp4', entry_protocol='m3u8_native'))
elif item.get('type') == '':
formats.append({'url': item['file']})
+ self._sort_formats(formats)
return {
'id': video_id,