projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff02a22
)
[radiojavan] Fix height
author
Sergey M․
<dstftw@gmail.com>
Sat, 4 Apr 2015 13:24:37 +0000
(19:24 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Sat, 4 Apr 2015 13:24:37 +0000
(19:24 +0600)
youtube_dl/extractor/radiojavan.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/radiojavan.py
b/youtube_dl/extractor/radiojavan.py
index 73ab78d6d01fca181a11d86d11b85461bfb892a7..c9eda9b53985ee829b92e525d76de41b78a3f28e 100644
(file)
--- 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)