aboutsummaryrefslogtreecommitdiff
path: root/yt_dlp/extractor/prosiebensat1.py
diff options
context:
space:
mode:
Diffstat (limited to 'yt_dlp/extractor/prosiebensat1.py')
-rw-r--r--yt_dlp/extractor/prosiebensat1.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/extractor/prosiebensat1.py b/yt_dlp/extractor/prosiebensat1.py
index 307ab81e9..707146be7 100644
--- a/yt_dlp/extractor/prosiebensat1.py
+++ b/yt_dlp/extractor/prosiebensat1.py
@@ -34,7 +34,7 @@ class ProSiebenSat1BaseIE(InfoExtractor):
'ids': clip_id,
})[0]
- if not self._downloader.params.get('allow_unplayable_formats') and video.get('is_protected') is True:
+ if not self.get_param('allow_unplayable_formats') and video.get('is_protected') is True:
raise ExtractorError('This video is DRM protected.', expected=True)
formats = []