1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-25 03:32:05 +00:00

[vevo] Sort formats (Fixes #3399)

This commit is contained in:
Philipp Hagemeister 2014-07-30 09:49:55 +02:00
parent 10b04ff7f4
commit bff74bdd1a

View file

@ -177,6 +177,7 @@ class VevoIE(InfoExtractor):
self._downloader.report_warning( self._downloader.report_warning(
'Cannot download SMIL information, falling back to JSON ..') 'Cannot download SMIL information, falling back to JSON ..')
self._sort_formats(formats)
timestamp_ms = int(self._search_regex( timestamp_ms = int(self._search_regex(
r'/Date\((\d+)\)/', video_info['launchDate'], 'launch date')) r'/Date\((\d+)\)/', video_info['launchDate'], 'launch date'))