commit 70328330117e3c4c0e413b8c41bfd9e8e55fc62a
parent f406c78785b57afb584cc0ee8ef4e84e568b0614
Author: Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Date: Sat, 6 Feb 2016 21:37:28 +0100
[iprima] Follow pep8
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git 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')