Browse Source

[iprima] Fix permission check regex

Sergey M․ 11 years ago
parent
commit
17286a96f2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      youtube_dl/extractor/iprima.py

+ 1 - 1
youtube_dl/extractor/iprima.py

@@ -48,7 +48,7 @@ class IPrimaIE(InfoExtractor):
 
 
         webpage = self._download_webpage(url, video_id)
         webpage = self._download_webpage(url, video_id)
 
 
-        if re.search(r'Nemáte oprávnění přistupovat na tuto stránku.\s*</div>', webpage):
+        if re.search(r'Nemáte oprávnění přistupovat na tuto stránku\.\s*</div>', webpage):
             raise ExtractorError(
             raise ExtractorError(
                 '%s said: You do not have permission to access this page' % self.IE_NAME, expected=True)
                 '%s said: You do not have permission to access this page' % self.IE_NAME, expected=True)