1
1
mirror of https://github.com/ytdl-org/youtube-dl synced 2024-11-23 22:26:53 +01: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'))