aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/extractor/hotstar.py
diff options
context:
space:
mode:
Diffstat (limited to 'yt_dlp/extractor/hotstar.py')
-rw-r--r--yt_dlp/extractor/hotstar.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/yt_dlp/extractor/hotstar.py b/yt_dlp/extractor/hotstar.py
index e00e58646..8d8a8bd75 100644
--- a/yt_dlp/extractor/hotstar.py
+++ b/yt_dlp/extractor/hotstar.py
@@ -182,7 +182,8 @@ class HotStarIE(HotStarBaseIE):
title = video_data['title']
if not self.get_param('allow_unplayable_formats') and video_data.get('drmProtected'):
- raise ExtractorError('This video is DRM protected.', expected=True)
+ self.report_drm(video_id)
+
headers = {'Referer': 'https://www.hotstar.com/in'}
formats = []
subs = {}