aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/urplay.py
diff options
context:
space:
mode:
authorRemita Amine <remitamine@gmail.com>2016-06-30 11:30:42 +0100
committerRemita Amine <remitamine@gmail.com>2016-06-30 11:30:42 +0100
commit4d86d2008eeae5d4e75d8f688a666e7b9504bbeb (patch)
tree8ff0f0c134bf1164c8f7e7f180a58ee953811899 /youtube_dl/extractor/urplay.py
parentab47b6e881269a0329b78a294318745a54e9e7c7 (diff)
[urplay] fix typo and check with flake8
Diffstat (limited to 'youtube_dl/extractor/urplay.py')
-rw-r--r--youtube_dl/extractor/urplay.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube_dl/extractor/urplay.py b/youtube_dl/extractor/urplay.py
index 24ecdd2b1..ce3bf6b02 100644
--- 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(
- 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 = []
@@ -64,4 +64,4 @@ class URPlayIE(InfoExtractor):
'series': urplayer_data.get('series_title'),
'subtitles': subtitles,
'formats': formats,
- } \ No newline at end of file
+ }