projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[README.md] Make download URLs consistent
[youtube-dl]
/
youtube_dl
/
extractor
/
urplay.py
diff --git
a/youtube_dl/extractor/urplay.py
b/youtube_dl/extractor/urplay.py
index 24ecdd2b1eb060c6ad865c56ff1bdd00b1ecf886..ce3bf6b023bced2176aa1cdf19cb75e371e290ed 100644
(file)
--- a/
youtube_dl/extractor/urplay.py
+++ b/
youtube_dl/extractor/urplay.py
@@
-22,7
+22,7
@@
class URPlayIE(InfoExtractor):
webpage = self._download_webpage(url, video_id)
urplayer_data = self._parse_json(self._search_regex(
webpage = self._download_webpage(url, video_id)
urplayer_data = self._parse_json(self._search_regex(
- r'urPlayer.init\(({.+?})\);', webpage, 'urplayer data'), video_id)
+ r'urPlayer
\
.init\(({.+?})\);', webpage, 'urplayer data'), video_id)
host = self._download_json('http://streaming-loadbalancer.ur.se/loadbalancer.json', video_id)['redirect']
formats = []
host = self._download_json('http://streaming-loadbalancer.ur.se/loadbalancer.json', video_id)['redirect']
formats = []
@@
-64,4
+64,4
@@
class URPlayIE(InfoExtractor):
'series': urplayer_data.get('series_title'),
'subtitles': subtitles,
'formats': formats,
'series': urplayer_data.get('series_title'),
'subtitles': subtitles,
'formats': formats,
- }
\ No newline at end of file
+ }