From: Sergey M․ Date: Sat, 4 Apr 2015 13:24:37 +0000 (+0600) Subject: [radiojavan] Fix height X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=4e8cc1e973da2656c46c5df84d4e85c5d78836ac;p=youtube-dl [radiojavan] Fix height --- diff --git a/youtube_dl/extractor/radiojavan.py b/youtube_dl/extractor/radiojavan.py index 73ab78d6d..c9eda9b53 100644 --- a/youtube_dl/extractor/radiojavan.py +++ b/youtube_dl/extractor/radiojavan.py @@ -34,7 +34,7 @@ class RadioJavanIE(InfoExtractor): formats = [{ 'url': 'https://media.rdjavan.com/media/music_video/%s' % video_path, 'format_id': '%sp' % height, - 'height': height, + 'height': int(height), } for height, video_path in re.findall(r"RJ\.video(\d+)p\s*=\s*'/?([^']+)'", webpage)] title = self._og_search_title(webpage)