X-Git-Url: http://git.cielonegro.org/gitweb.cgi?a=blobdiff_plain;f=youtube_dl%2Fextractor%2Fiprima.py;h=61a0de47283f426879d2fdad1c3620ac979ac0d0;hb=0d769bcb781b46a00ddf958d6ea945560f2d6cd5;hp=093a7e551abbf40628cb28d26742b2a1e12bd7cc;hpb=f406c78785b57afb584cc0ee8ef4e84e568b0614;p=youtube-dl.git diff --git a/youtube_dl/extractor/iprima.py b/youtube_dl/extractor/iprima.py index 093a7e551..61a0de472 100644 --- a/youtube_dl/extractor/iprima.py +++ b/youtube_dl/extractor/iprima.py @@ -37,8 +37,9 @@ 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' - '&_ts=%s&productId=%s' % (round(time.time()), 'p22201')) + req = sanitized_Request( + 'http://play.iprima.cz/prehravac/init?_infuse=1' + '&_ts=%s&productId=%s' % (round(time.time()), video_id)) req.add_header('Referer', url) playerpage = self._download_webpage(req, video_id, note='Downloading player')