projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'ustream-embed-recorded2' of https://github.com/anovicecodemonkey/youtub...
[youtube-dl]
/
youtube_dl
/
extractor
/
iprima.py
diff --git
a/youtube_dl/extractor/iprima.py
b/youtube_dl/extractor/iprima.py
index 6ca0e9122a51ebdf621ed4d999e4065700c1c48c..d1defd363c5fe9c86330236f53b8aa21bfe65a38 100644
(file)
--- a/
youtube_dl/extractor/iprima.py
+++ b/
youtube_dl/extractor/iprima.py
@@
-39,6
+39,7
@@
class IPrimaIE(InfoExtractor):
'params': {
'skip_download': True, # requires rtmpdump
},
'params': {
'skip_download': True, # requires rtmpdump
},
+ 'skip': 'Do not have permission to access this page',
}]
def _real_extract(self, url):
}]
def _real_extract(self, url):
@@
-47,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(
'%s said: You do not have permission to access this page' % self.IE_NAME, expected=True)
raise ExtractorError(
'%s said: You do not have permission to access this page' % self.IE_NAME, expected=True)