Browse Source

[iprima] Follow pep8

totalwebcasting
Jaime Marquínez Ferrándiz 9 years ago
parent
commit
7032833011
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      youtube_dl/extractor/iprima.py

+ 2
- 1
youtube_dl/extractor/iprima.py View File

@ -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')


Loading…
Cancel
Save