aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/extractor/wat.py
diff options
context:
space:
mode:
Diffstat (limited to 'yt_dlp/extractor/wat.py')
-rw-r--r--yt_dlp/extractor/wat.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/extractor/wat.py b/yt_dlp/extractor/wat.py
index f1bccc2d6..05dcc1f17 100644
--- a/yt_dlp/extractor/wat.py
+++ b/yt_dlp/extractor/wat.py
@@ -87,7 +87,7 @@ class WatIE(InfoExtractor):
extract_formats({delivery.get('format'): delivery.get('url')})
if not formats:
if delivery.get('drm'):
- raise ExtractorError('This video is DRM protected.', expected=True)
+ self.raise_no_formats('This video is DRM protected.', expected=True)
manifest_urls = self._download_json(
'http://www.wat.tv/get/webhtml/' + video_id, video_id, fatal=False)
if manifest_urls: