aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/extractor/ninenow.py
diff options
context:
space:
mode:
authorpukkandan <pukkandan.ytdlp@gmail.com>2021-05-17 17:53:08 +0530
committerpukkandan <pukkandan.ytdlp@gmail.com>2021-05-17 18:59:51 +0530
commita06916d98e1669f9b7d821bcb3ca6d13bd6429fe (patch)
treee6484fd0b6301d0051a0300c866cc2922a4437b7 /yt_dlp/extractor/ninenow.py
parent681de68e9df67f07dde3fbbc6cb2e65a78b2bb16 (diff)
downloadhypervideo-pre-a06916d98e1669f9b7d821bcb3ca6d13bd6429fe.tar.lz
hypervideo-pre-a06916d98e1669f9b7d821bcb3ca6d13bd6429fe.tar.xz
hypervideo-pre-a06916d98e1669f9b7d821bcb3ca6d13bd6429fe.zip
[extractor] Add `write_debug` and `get_param`
Diffstat (limited to 'yt_dlp/extractor/ninenow.py')
-rw-r--r--yt_dlp/extractor/ninenow.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/extractor/ninenow.py b/yt_dlp/extractor/ninenow.py
index fc3a398ad..43b9c4e7e 100644
--- a/yt_dlp/extractor/ninenow.py
+++ b/yt_dlp/extractor/ninenow.py
@@ -66,7 +66,7 @@ class NineNowIE(InfoExtractor):
video_data = common_data['video']
- if not self._downloader.params.get('allow_unplayable_formats') and video_data.get('drm'):
+ if not self.get_param('allow_unplayable_formats') and video_data.get('drm'):
raise ExtractorError('This video is DRM protected.', expected=True)
brightcove_id = video_data.get('brightcoveId') or 'ref:' + video_data['referenceId']