Browse Source

[urplay] fix typo and check with flake8

totalwebcasting
Remita Amine 9 years ago
parent
commit
4d86d2008e
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      youtube_dl/extractor/urplay.py

+ 2
- 2
youtube_dl/extractor/urplay.py View File

@ -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,
}
}

Loading…
Cancel
Save