commit 4e8cc1e973da2656c46c5df84d4e85c5d78836ac
parent ff02a228e35ab11c9cfa6e0d000b7fd6de52a0c6
Author: Sergey M․ <dstftw@gmail.com>
Date: Sat, 4 Apr 2015 19:24:37 +0600
[radiojavan] Fix height
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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)