1
0
Fork 0
mirror of https://codeberg.org/polarisfm/youtube-dl.git synced 2024-12-24 16:51:36 +00:00

[radiojavan] Fix height

This commit is contained in:
Sergey M․ 2015-04-04 19:24:37 +06:00
parent ff02a228e3
commit 4e8cc1e973

View file

@ -34,7 +34,7 @@ class RadioJavanIE(InfoExtractor):
formats = [{ formats = [{
'url': 'https://media.rdjavan.com/media/music_video/%s' % video_path, 'url': 'https://media.rdjavan.com/media/music_video/%s' % video_path,
'format_id': '%sp' % height, 'format_id': '%sp' % height,
'height': height, 'height': int(height),
} for height, video_path in re.findall(r"RJ\.video(\d+)p\s*=\s*'/?([^']+)'", webpage)] } for height, video_path in re.findall(r"RJ\.video(\d+)p\s*=\s*'/?([^']+)'", webpage)]
title = self._og_search_title(webpage) title = self._og_search_title(webpage)