1
0
mirror of https://github.com/l1ving/youtube-dl synced 2024-11-22 00:42:52 +08:00

[iprima] Fix permission check regex

This commit is contained in:
Sergey M․ 2014-03-18 19:33:28 +07:00
parent 0892363e6d
commit 17286a96f2

View File

@ -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)