mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-01-07 17:16:08 +00:00
[iprima] Follow pep8
This commit is contained in:
parent
f406c78785
commit
7032833011
|
@ -37,7 +37,8 @@ class IPrimaIE(InfoExtractor):
|
||||||
|
|
||||||
video_id = self._search_regex(r'data-product="([^"]+)">', webpage, 'real id')
|
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'))
|
'&_ts=%s&productId=%s' % (round(time.time()), 'p22201'))
|
||||||
req.add_header('Referer', url)
|
req.add_header('Referer', url)
|
||||||
playerpage = self._download_webpage(req, video_id, note='Downloading player')
|
playerpage = self._download_webpage(req, video_id, note='Downloading player')
|
||||||
|
|
Loading…
Reference in a new issue