diff options
author | pukkandan <pukkandan.ytdlp@gmail.com> | 2021-05-17 17:53:08 +0530 |
---|---|---|
committer | pukkandan <pukkandan.ytdlp@gmail.com> | 2021-05-17 18:59:51 +0530 |
commit | a06916d98e1669f9b7d821bcb3ca6d13bd6429fe (patch) | |
tree | e6484fd0b6301d0051a0300c866cc2922a4437b7 /yt_dlp/extractor/toutv.py | |
parent | 681de68e9df67f07dde3fbbc6cb2e65a78b2bb16 (diff) |
[extractor] Add `write_debug` and `get_param`
Diffstat (limited to 'yt_dlp/extractor/toutv.py')
-rw-r--r-- | yt_dlp/extractor/toutv.py | 2 |
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'] |