aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/extractor/afreecatv.py
diff options
context:
space:
mode:
authorpukkandan <pukkandan.ytdlp@gmail.com>2021-04-16 15:31:10 +0530
committerpukkandan <pukkandan.ytdlp@gmail.com>2021-04-17 04:16:41 +0530
commit6a39ee13f7613767905a4669d1d0247aafc5a12c (patch)
treef81a187ae9849b760a3042dc449e4d3a7df54753 /yt_dlp/extractor/afreecatv.py
parent33245766ab0b7be7971ff46f03c706d77a327a92 (diff)
downloadhypervideo-pre-6a39ee13f7613767905a4669d1d0247aafc5a12c.tar.lz
hypervideo-pre-6a39ee13f7613767905a4669d1d0247aafc5a12c.tar.xz
hypervideo-pre-6a39ee13f7613767905a4669d1d0247aafc5a12c.zip
Fix inconsistent use of `report_warning`
Diffstat (limited to 'yt_dlp/extractor/afreecatv.py')
-rw-r--r--yt_dlp/extractor/afreecatv.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/extractor/afreecatv.py b/yt_dlp/extractor/afreecatv.py
index b56abb1e6..af0587ae6 100644
--- a/yt_dlp/extractor/afreecatv.py
+++ b/yt_dlp/extractor/afreecatv.py
@@ -257,7 +257,7 @@ class AfreecaTVIE(InfoExtractor):
if flag and flag == 'SUCCEED':
break
if flag == 'PARTIAL_ADULT':
- self._downloader.report_warning(
+ self.report_warning(
'In accordance with local laws and regulations, underage users are restricted from watching adult content. '
'Only content suitable for all ages will be downloaded. '
'Provide account credentials if you wish to download restricted content.')