diff options
Diffstat (limited to 'yt_dlp/extractor/shahid.py')
-rw-r--r-- | yt_dlp/extractor/shahid.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/extractor/shahid.py b/yt_dlp/extractor/shahid.py index dc590129c..42de41a11 100644 --- a/yt_dlp/extractor/shahid.py +++ b/yt_dlp/extractor/shahid.py @@ -119,7 +119,7 @@ class ShahidIE(ShahidBaseIE): 'playout/new/url/' + video_id, video_id)['playout'] if not self.get_param('allow_unplayable_formats') and playout.get('drm'): - raise ExtractorError('This video is DRM protected.', expected=True) + self.report_drm(video_id) formats = self._extract_m3u8_formats(re.sub( # https://docs.aws.amazon.com/mediapackage/latest/ug/manifest-filtering.html |