projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
release 2016.06.03
[youtube-dl]
/
youtube_dl
/
extractor
/
shahid.py
diff --git
a/youtube_dl/extractor/shahid.py
b/youtube_dl/extractor/shahid.py
index b4433a68901c2820d2aba843ecaf1b89d32eeaf6..d95ea06be56844deb3c34276fb1c4e7e18d64173 100644
(file)
--- a/
youtube_dl/extractor/shahid.py
+++ b/
youtube_dl/extractor/shahid.py
@@
-77,6
+77,7
@@
class ShahidIE(InfoExtractor):
raise ExtractorError('This video is DRM protected.', expected=True)
formats = self._extract_m3u8_formats(player['url'], video_id, 'mp4')
+ self._sort_formats(formats)
video = self._download_json(
'%s/%s/%s?%s' % (