aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2016-02-06 21:37:28 +0100
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2016-02-06 21:37:28 +0100
commit70328330117e3c4c0e413b8c41bfd9e8e55fc62a (patch)
tree07fe3ab90cebd80d688c74bba92e5ca8009ada83
parentf406c78785b57afb584cc0ee8ef4e84e568b0614 (diff)
[iprima] Follow pep8
-rw-r--r--youtube_dl/extractor/iprima.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/youtube_dl/extractor/iprima.py b/youtube_dl/extractor/iprima.py
index 093a7e551..d922f905a 100644
--- a/youtube_dl/extractor/iprima.py
+++ b/youtube_dl/extractor/iprima.py
@@ -37,7 +37,8 @@ class IPrimaIE(InfoExtractor):
video_id = self._search_regex(r'data-product="([^"]+)">', webpage, 'real id')
- req = sanitized_Request('http://play.iprima.cz/prehravac/init?_infuse=1'
+ req = sanitized_Request(
+ 'http://play.iprima.cz/prehravac/init?_infuse=1'
'&_ts=%s&productId=%s' % (round(time.time()), 'p22201'))
req.add_header('Referer', url)
playerpage = self._download_webpage(req, video_id, note='Downloading player')