aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/extractor/ninenow.py
diff options
context:
space:
mode:
Diffstat (limited to 'yt_dlp/extractor/ninenow.py')
-rw-r--r--yt_dlp/extractor/ninenow.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/extractor/ninenow.py b/yt_dlp/extractor/ninenow.py
index fc3a398ad..43b9c4e7e 100644
--- a/yt_dlp/extractor/ninenow.py
+++ b/yt_dlp/extractor/ninenow.py
@@ -66,7 +66,7 @@ class NineNowIE(InfoExtractor):
video_data = common_data['video']
- if not self._downloader.params.get('allow_unplayable_formats') and video_data.get('drm'):
+ if not self.get_param('allow_unplayable_formats') and video_data.get('drm'):
raise ExtractorError('This video is DRM protected.', expected=True)
brightcove_id = video_data.get('brightcoveId') or 'ref:' + video_data['referenceId']