aboutsummaryrefslogtreecommitdiff
path: root/yt_dlp/extractor/toutv.py
diff options
context:
space:
mode:
Diffstat (limited to 'yt_dlp/extractor/toutv.py')
-rw-r--r--yt_dlp/extractor/toutv.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/extractor/toutv.py b/yt_dlp/extractor/toutv.py
index aba87051a..6c84c211c 100644
--- a/yt_dlp/extractor/toutv.py
+++ b/yt_dlp/extractor/toutv.py
@@ -74,7 +74,7 @@ class TouTvIE(RadioCanadaIE):
})
# IsDrm does not necessarily mean the video is DRM protected (see
# https://github.com/ytdl-org/youtube-dl/issues/13994).
- if not self._downloader.params.get('allow_unplayable_formats') and metadata.get('IsDrm'):
+ if not self.get_param('allow_unplayable_formats') and metadata.get('IsDrm'):
self.report_warning('This video is probably DRM protected.', path)
video_id = metadata['IdMedia']
details = metadata['Details']