diff --git a/yt_dlp/extractor/rai.py b/yt_dlp/extractor/rai.py index d09b4a7357..6c2191bb31 100644 --- a/yt_dlp/extractor/rai.py +++ b/yt_dlp/extractor/rai.py @@ -170,7 +170,7 @@ def _real_extract(self, url): media = self._download_json( base + '.json', video_id, 'Downloading video JSON') - if not self.params.get('allow_unplayable_formats'): + if not self._downloader.params.get('allow_unplayable_formats'): if try_get( media, (lambda x: x['rights_management']['rights']['drm'],