mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2025-07-02 12:02:49 -05:00
[vh1] Add new extractor (#2072)
This commit is contained in:
@ -80,6 +80,8 @@ class MTVServicesInfoExtractor(InfoExtractor):
|
||||
})
|
||||
except (KeyError, TypeError):
|
||||
raise ExtractorError('Invalid rendition field.')
|
||||
# worst format is expected to be first and best one last
|
||||
formats.sort(key=lambda x: int(x['format_id']))
|
||||
return formats
|
||||
|
||||
def _get_video_info(self, itemdoc):
|
||||
|
Reference in New Issue
Block a user