]> Raphaƫl G. Git Repositories - youtubedl/blobdiff - youtube_dl/extractor/iprima.py
Merge tag 'upstream/2015.02.06'
[youtubedl] / youtube_dl / extractor / iprima.py
index d1defd363c5fe9c86330236f53b8aa21bfe65a38..8529bedfc0ab283790e74144bc9d570df19dc4b3 100644 (file)
@@ -6,8 +6,10 @@ from random import random
 from math import floor
 
 from .common import InfoExtractor
 from math import floor
 
 from .common import InfoExtractor
-from ..utils import (
+from ..compat import (
     compat_urllib_request,
     compat_urllib_request,
+)
+from ..utils import (
     ExtractorError,
 )
 
     ExtractorError,
 )
 
@@ -54,7 +56,7 @@ class IPrimaIE(InfoExtractor):
 
         player_url = (
             'http://embed.livebox.cz/iprimaplay/player-embed-v2.js?__tok%s__=%s' %
 
         player_url = (
             'http://embed.livebox.cz/iprimaplay/player-embed-v2.js?__tok%s__=%s' %
-            (floor(random()*1073741824), floor(random()*1073741824))
+            (floor(random() * 1073741824), floor(random() * 1073741824))
         )
 
         req = compat_urllib_request.Request(player_url)
         )
 
         req = compat_urllib_request.Request(player_url)