diff --git a/youtube_dl/extractor/brightcove.py b/youtube_dl/extractor/brightcove.py index 8d5acef14b..2db7f9fef4 100644 --- a/youtube_dl/extractor/brightcove.py +++ b/youtube_dl/extractor/brightcove.py @@ -221,7 +221,7 @@ def _get_video_info(self, video_id, query_str, query, referer=None): webpage = self._download_webpage(req, video_id) error_msg = self._html_search_regex( - r"
(.*?)
", webpage, + r".*?
)+", webpage, 'error message', default=None) if error_msg is not None: raise ExtractorError(