|
|
@ -80,8 +80,7 @@ class MTVServicesInfoExtractor(InfoExtractor):
|
|
|
|
})
|
|
|
|
})
|
|
|
|
except (KeyError, TypeError):
|
|
|
|
except (KeyError, TypeError):
|
|
|
|
raise ExtractorError('Invalid rendition field.')
|
|
|
|
raise ExtractorError('Invalid rendition field.')
|
|
|
|
# worst format is expected to be first and best one last
|
|
|
|
self._sort_formats(formats)
|
|
|
|
formats.sort(key=lambda x: int(x['format_id']))
|
|
|
|
|
|
|
|
return formats
|
|
|
|
return formats
|
|
|
|
|
|
|
|
|
|
|
|
def _get_video_info(self, itemdoc):
|
|
|
|
def _get_video_info(self, itemdoc):
|
|
|
|