mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-14 07:12:41 +00:00
[puls4] Fix error detection (#9194)
This commit is contained in:
parent
260c7036ba
commit
c394b4f4cb
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ class Puls4IE(InfoExtractor):
|
||||||
webpage = self._download_webpage(url, video_id)
|
webpage = self._download_webpage(url, video_id)
|
||||||
|
|
||||||
error_message = self._html_search_regex(
|
error_message = self._html_search_regex(
|
||||||
r'<div class="message-error">(.+?)</div>',
|
r'<div[^>]+class="message-error"[^>]*>(.+?)</div>',
|
||||||
webpage, 'error message', default=None)
|
webpage, 'error message', default=None)
|
||||||
if error_message:
|
if error_message:
|
||||||
raise ExtractorError(
|
raise ExtractorError(
|
||||||
|
|
Loading…
Reference in a new issue