aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/radiojavan.py
diff options
context:
space:
mode:
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)