projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0892363
)
[iprima] Fix permission check regex
author
Sergey M․
<dstftw@gmail.com>
Tue, 18 Mar 2014 12:33:28 +0000
(19:33 +0700)
committer
Sergey M․
<dstftw@gmail.com>
Tue, 18 Mar 2014 12:33:28 +0000
(19:33 +0700)
youtube_dl/extractor/iprima.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/iprima.py
b/youtube_dl/extractor/iprima.py
index 2a29e6072bc78b0afe5fe2460cd9d1ea45565203..d1defd363c5fe9c86330236f53b8aa21bfe65a38 100644
(file)
--- 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)