aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/extractor/deezer.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/deezer.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/deezer.py')
-rw-r--r--yt_dlp/extractor/deezer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/extractor/deezer.py b/yt_dlp/extractor/deezer.py
index 3031671c1..3b1833c8d 100644
--- a/yt_dlp/extractor/deezer.py
+++ b/yt_dlp/extractor/deezer.py
@@ -14,7 +14,7 @@ from ..utils import (
class DeezerBaseInfoExtractor(InfoExtractor):
def get_data(self, url):
if not self._downloader.params.get('test'):
- self._downloader.report_warning('For now, this extractor only supports the 30 second previews. Patches welcome!')
+ self.report_warning('For now, this extractor only supports the 30 second previews. Patches welcome!')
mobj = re.match(self._VALID_URL, url)
data_id = mobj.group('id')