summary refs log tree commit diff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2014-03-18 19:33:28 +0700
committerSergey M․ <dstftw@gmail.com>2014-03-18 19:33:28 +0700
commit17286a96f233426506f08d8d6664af59f0973200 (patch)
treeaec1bb3a506e11f50bfba732642d8b262fddd010
parent0892363e6ddd87f61165efd975c383d715548ecc (diff)
downloadyoutube-dl-17286a96f233426506f08d8d6664af59f0973200.tar.gz
youtube-dl-17286a96f233426506f08d8d6664af59f0973200.tar.xz
youtube-dl-17286a96f233426506f08d8d6664af59f0973200.zip
[iprima] Fix permission check regex
-rw-r--r--youtube_dl/extractor/iprima.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/iprima.py b/youtube_dl/extractor/iprima.py
index 2a29e6072..d1defd363 100644
--- a/youtube_dl/extractor/iprima.py
+++ b/youtube_dl/extractor/iprima.py
@@ -48,7 +48,7 @@ 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*</div>', webpage):
+        if re.search(r'Nemáte oprávnění přistupovat na tuto stránku\.\s*</div>', webpage):
             raise ExtractorError(
                 '%s said: You do not have permission to access this page' % self.IE_NAME, expected=True)