aboutsummaryrefslogtreecommitdiffstats
path: root/youtube_dl/extractor/iprima.py
diff options
context:
space:
mode:
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')