From a06916d98e1669f9b7d821bcb3ca6d13bd6429fe Mon Sep 17 00:00:00 2001 From: pukkandan Date: Mon, 17 May 2021 17:53:08 +0530 Subject: [extractor] Add `write_debug` and `get_param` --- yt_dlp/extractor/onet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'yt_dlp/extractor/onet.py') diff --git a/yt_dlp/extractor/onet.py b/yt_dlp/extractor/onet.py index e55b2ac89..219ac349e 100644 --- a/yt_dlp/extractor/onet.py +++ b/yt_dlp/extractor/onet.py @@ -182,7 +182,7 @@ class OnetChannelIE(OnetBaseIE): video_id = remove_start(current_clip_info['ckmId'], 'mvp:') video_name = url_basename(current_clip_info['url']) - if self._downloader.params.get('noplaylist'): + if self.get_param('noplaylist'): self.to_screen( 'Downloading just video %s because of --no-playlist' % video_name) return self._extract_from_id(video_id, webpage) -- cgit v1.2.3