projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[myspace] pep8 and modernization
[youtube-dl]
/
youtube_dl
/
extractor
/
brightcove.py
diff --git
a/youtube_dl/extractor/brightcove.py
b/youtube_dl/extractor/brightcove.py
index 8d5acef14bd9556b25abceb7df4d4d32131f8624..2db7f9fef4f50f4f7f95b812d5245c224dc7ed20 100644
(file)
--- a/
youtube_dl/extractor/brightcove.py
+++ b/
youtube_dl/extractor/brightcove.py
@@
-221,7
+221,7
@@
class BrightcoveIE(InfoExtractor):
webpage = self._download_webpage(req, video_id)
error_msg = self._html_search_regex(
webpage = self._download_webpage(req, video_id)
error_msg = self._html_search_regex(
- r"<h1>We're sorry.</h1>
\s*<p>(.*?)</p>
", webpage,
+ r"<h1>We're sorry.</h1>
([\s\n]*<p>.*?</p>)+
", webpage,
'error message', default=None)
if error_msg is not None:
raise ExtractorError(
'error message', default=None)
if error_msg is not None:
raise ExtractorError(