aboutsummaryrefslogtreecommitdiffstats
path: root/youtube_dl/extractor/iprima.py
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 /youtube_dl/extractor/iprima.py
parentf406c78785b57afb584cc0ee8ef4e84e568b0614 (diff)
downloadyoutube-dl-70328330117e3c4c0e413b8c41bfd9e8e55fc62a.zip
youtube-dl-70328330117e3c4c0e413b8c41bfd9e8e55fc62a.tar.gz
youtube-dl-70328330117e3c4c0e413b8c41bfd9e8e55fc62a.tar.bz2
[iprima] Follow pep8
Diffstat (limited to 'youtube_dl/extractor/iprima.py')
-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 093a7e5..d922f90 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')