aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/extractor/rai.py
diff options
context:
space:
mode:
Diffstat (limited to 'yt_dlp/extractor/rai.py')
-rw-r--r--yt_dlp/extractor/rai.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/extractor/rai.py b/yt_dlp/extractor/rai.py
index d09b4a735..6c2191bb3 100644
--- a/yt_dlp/extractor/rai.py
+++ b/yt_dlp/extractor/rai.py
@@ -170,7 +170,7 @@ class RaiPlayIE(RaiBaseIE):
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'],