aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/extractor/pokemon.py
diff options
context:
space:
mode:
Diffstat (limited to 'yt_dlp/extractor/pokemon.py')
-rw-r--r--yt_dlp/extractor/pokemon.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/extractor/pokemon.py b/yt_dlp/extractor/pokemon.py
index ec8148407..8750e0e0d 100644
--- a/yt_dlp/extractor/pokemon.py
+++ b/yt_dlp/extractor/pokemon.py
@@ -112,7 +112,7 @@ class PokemonWatchIE(InfoExtractor):
}
# API call can be avoided entirely if we are listing formats
- if self._downloader.params.get('listformats', False):
+ if self.get_param('listformats', False):
return info
webpage = self._download_webpage(url, video_id)