1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-02 09:12:40 +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 @@ def _real_extract(self, url):
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'))