Skip to content

A feature-rich command-line audio/video downloader

[iprima] Fix permission check regex

Sergey M․17286a96f233
diff --git a/youtube_dl/extractor/iprima.py b/youtube_dl/extractor/iprima.py
index 2a29e6072b..d1defd363c 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)