1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-04 18:22:37 +01:00

[crunchyroll] Sort formats

This commit is contained in:
Sergey M․ 2016-04-29 19:44:10 +06:00
parent 8312b1a3d1
commit 00a17a9e12
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D

View File

@ -367,6 +367,7 @@ def _real_extract(self, url):
'ext': 'flv', 'ext': 'flv',
}) })
formats.append(format_info) formats.append(format_info)
self._sort_formats(formats)
metadata = self._download_xml( metadata = self._download_xml(
'http://www.crunchyroll.com/xml', video_id, 'http://www.crunchyroll.com/xml', video_id,