aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/extractor/npo.py
diff options
context:
space:
mode:
Diffstat (limited to 'yt_dlp/extractor/npo.py')
-rw-r--r--yt_dlp/extractor/npo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/extractor/npo.py b/yt_dlp/extractor/npo.py
index 573a89092..6984b76a9 100644
--- a/yt_dlp/extractor/npo.py
+++ b/yt_dlp/extractor/npo.py
@@ -246,7 +246,7 @@ class NPOIE(NPOBaseIE):
})
if not formats:
- if not self._downloader.params.get('allow_unplayable_formats') and drm:
+ if not self.get_param('allow_unplayable_formats') and drm:
self.raise_no_formats('This video is DRM protected.', expected=True)
return