1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-29 19:47:54 +01:00

[urplay] fix typo and check with flake8

This commit is contained in:
Remita Amine 2016-06-30 11:30:42 +01:00
parent ab47b6e881
commit 4d86d2008e

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 = []