[IPrima] Remove test video_id
[youtube-dl] / youtube_dl / extractor / iprima.py
index 093a7e551abbf40628cb28d26742b2a1e12bd7cc..61a0de47283f426879d2fdad1c3620ac979ac0d0 100644 (file)
@@ -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')