about summary refs log tree commit diff
path: root/youtube_dl/extractor/puls4.py
diff options
context:
space:
mode:
authorYen Chi Hsuan <yan12125@gmail.com>2016-04-16 16:22:44 +0800
committerYen Chi Hsuan <yan12125@gmail.com>2016-04-16 16:22:44 +0800
commitc394b4f4cb6d6071613a1733d0c3188e5882f476 (patch)
tree7b7cf10452b1505104f6e2fa9812438227a92edd /youtube_dl/extractor/puls4.py
parent260c7036bab996a6364ed8578819fdfa034d6bd1 (diff)
downloadyoutube-dl-c394b4f4cb6d6071613a1733d0c3188e5882f476.tar.gz
youtube-dl-c394b4f4cb6d6071613a1733d0c3188e5882f476.tar.xz
youtube-dl-c394b4f4cb6d6071613a1733d0c3188e5882f476.zip
[puls4] Fix error detection (#9194)
Diffstat (limited to 'youtube_dl/extractor/puls4.py')
-rw-r--r--youtube_dl/extractor/puls4.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/puls4.py b/youtube_dl/extractor/puls4.py
index cce84b9e4..fca30e1aa 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'<div class="message-error">(.+?)</div>',
+            r'<div[^>]+class="message-error"[^>]*>(.+?)</div>',
             webpage, 'error message', default=None)
         if error_message:
             raise ExtractorError(