aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/extractor/ruutu.py
diff options
context:
space:
mode:
Diffstat (limited to 'yt_dlp/extractor/ruutu.py')
-rw-r--r--yt_dlp/extractor/ruutu.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/extractor/ruutu.py b/yt_dlp/extractor/ruutu.py
index 5030c01cd..6a78441ef 100644
--- a/yt_dlp/extractor/ruutu.py
+++ b/yt_dlp/extractor/ruutu.py
@@ -200,7 +200,7 @@ class RuutuIE(InfoExtractor):
return node.get('value')
if not formats:
- if (not self._downloader.params.get('allow_unplayable_formats')
+ if (not self.get_param('allow_unplayable_formats')
and xpath_text(video_xml, './Clip/DRM', default=None)):
self.raise_no_formats('This video is DRM protected.', expected=True)
ns_st_cds = pv('ns_st_cds')