X-Git-Url: http://git.cielonegro.org/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=youtube_dl%2Fextractor%2Fiprima.py;h=4247d6391fa25f674449d9d8ac44b428c7c387e0;hb=7668a2c5cba305bf7dc41b14149fa7f55d4dffd6;hp=2a29e6072bc78b0afe5fe2460cd9d1ea45565203;hpb=f1cef7a9ffcf92781e8ee81934a1bf985aefdbca;p=youtube-dl.git diff --git a/youtube_dl/extractor/iprima.py b/youtube_dl/extractor/iprima.py index 2a29e6072..4247d6391 100644 --- a/youtube_dl/extractor/iprima.py +++ b/youtube_dl/extractor/iprima.py @@ -48,13 +48,13 @@ class IPrimaIE(InfoExtractor): webpage = self._download_webpage(url, video_id) - if re.search(r'Nemáte oprávnění přistupovat na tuto stránku.\s*', webpage): + if re.search(r'Nemáte oprávnění přistupovat na tuto stránku\.\s*', webpage): raise ExtractorError( '%s said: You do not have permission to access this page' % self.IE_NAME, expected=True) 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)