1
0
mirror of https://github.com/l1ving/youtube-dl synced 2024-12-21 18:12:52 +08:00

[radiojavan] Sort formats

This commit is contained in:
Sergey M․ 2015-04-04 19:25:08 +06:00
parent 4e8cc1e973
commit 8fb2e5a4f5

View File

@ -36,6 +36,7 @@ class RadioJavanIE(InfoExtractor):
'format_id': '%sp' % height,
'height': int(height),
} for height, video_path in re.findall(r"RJ\.video(\d+)p\s*=\s*'/?([^']+)'", webpage)]
self._sort_formats(formats)
title = self._og_search_title(webpage)
thumbnail = self._og_search_thumbnail(webpage)