diff options
author | pukkandan <pukkandan.ytdlp@gmail.com> | 2021-08-23 01:38:38 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-23 01:38:38 +0530 |
commit | 88acdbc2698169e22cdbf358e44765150434c69e (patch) | |
tree | a6cb42ac19943c4890b3ecd12b43e11808c9a0da /yt_dlp/extractor/crackle.py | |
parent | 9b5fa9ee7ce859d63fa10b840ffff7c99c393d7e (diff) |
[extractor] Better error message for DRM (#729)
Closes #636
Diffstat (limited to 'yt_dlp/extractor/crackle.py')
-rw-r--r-- | yt_dlp/extractor/crackle.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/yt_dlp/extractor/crackle.py b/yt_dlp/extractor/crackle.py index 216e71311..2c9d28d2e 100644 --- a/yt_dlp/extractor/crackle.py +++ b/yt_dlp/extractor/crackle.py @@ -176,8 +176,8 @@ class CrackleIE(InfoExtractor): 'width': mfs_info['width'], 'height': mfs_info['height'], }) - if not formats and has_drm and not ignore_no_formats: - raise ExtractorError('The video is DRM protected', expected=True) + if not formats and has_drm: + self.report_drm(video_id) self._sort_formats(formats) description = media.get('Description') |