aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/radiojavan.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-04-04 19:24:37 +0600
committerSergey M․ <dstftw@gmail.com>2015-04-04 19:24:37 +0600
commit4e8cc1e973da2656c46c5df84d4e85c5d78836ac (patch)
tree17d1469050fde012bbc9dfbe4427f005f3f34abc /youtube_dl/extractor/radiojavan.py
parentff02a228e35ab11c9cfa6e0d000b7fd6de52a0c6 (diff)
[radiojavan] Fix height
Diffstat (limited to 'youtube_dl/extractor/radiojavan.py')
-rw-r--r--youtube_dl/extractor/radiojavan.py2
1 files changed, 1 insertions, 1 deletions
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)