X-Git-Url: https://git.rapsys.eu/youtubedl/blobdiff_plain/0865c28fb29a6481cd837cf8c1ef0cd134c6ef8e..50ac49cc58db6cb928094be89415983aca6bbd34:/youtube_dl/extractor/puls4.py diff --git a/youtube_dl/extractor/puls4.py b/youtube_dl/extractor/puls4.py index cce84b9..fca30e1 100644 --- a/youtube_dl/extractor/puls4.py +++ b/youtube_dl/extractor/puls4.py @@ -40,7 +40,7 @@ class Puls4IE(InfoExtractor): webpage = self._download_webpage(url, video_id) error_message = self._html_search_regex( - r'
(.+?)
', + r']+class="message-error"[^>]*>(.+?)', webpage, 'error message', default=None) if error_message: raise ExtractorError(