From 245ca4e51581321f7cd2e51c45f87bb110fbd37b Mon Sep 17 00:00:00 2001 From: kclauhk Date: Thu, 31 Oct 2024 02:42:58 +0800 Subject: [PATCH] use one ie_key only --- yt_dlp/extractor/extrememusic.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/yt_dlp/extractor/extrememusic.py b/yt_dlp/extractor/extrememusic.py index e75706139..7959737b8 100644 --- a/yt_dlp/extractor/extrememusic.py +++ b/yt_dlp/extractor/extrememusic.py @@ -20,7 +20,8 @@ class ExtremeMusicBaseIE(InfoExtractor): _REQUIRE_VERSION = [] def _initialize(self, url, video_id, country=None): - self._REQUIRE_VERSION = self._configuration_arg('ver') or self._configuration_arg('version') + self._REQUIRE_VERSION = (self._configuration_arg('ver', ie_key='extrememusic') + or self._configuration_arg('version', ie_key='extrememusic')) # This site serves different versions of the same playlist id due to geo-restriction # use user's own country code if no code (geo_bypass_country or pre-defined country code) is provided if not country: