mirror of
https://github.com/yt-dlp/yt-dlp
synced 2024-12-27 21:59:17 +01:00
use one ie_key only
This commit is contained in:
parent
0f49100783
commit
245ca4e515
1 changed files with 2 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue