aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/shahid.py
diff options
context:
space:
mode:
Diffstat (limited to 'youtube_dl/extractor/shahid.py')
-rw-r--r--youtube_dl/extractor/shahid.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/youtube_dl/extractor/shahid.py b/youtube_dl/extractor/shahid.py
index b4433a689..d95ea06be 100644
--- 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' % (