From d4b276f9e2af7050501689739466c749604682dd Mon Sep 17 00:00:00 2001 From: garret Date: Mon, 5 Aug 2024 09:01:49 +0100 Subject: set the ie_key used by extractor_args to "rajiko" so just the one --extractor-args incantation can be used for both live and timefree (--extractor-args "rajiko:device=pc_html5") --- yt_dlp_plugins/extractor/radiko.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yt_dlp_plugins/extractor/radiko.py b/yt_dlp_plugins/extractor/radiko.py index 2ec36d9..024d9a6 100644 --- a/yt_dlp_plugins/extractor/radiko.py +++ b/yt_dlp_plugins/extractor/radiko.py @@ -235,7 +235,7 @@ class _RadikoBaseIE(InfoExtractor): return cachedata.get("meta") def _get_station_formats(self, station, timefree, auth_data, start_at=None, end_at=None): - device = self._configuration_arg('device', ['aSmartPhone7a'], casesense=True)[0] # aSmartPhone7a formats = always happy path + device = self._configuration_arg('device', ['aSmartPhone7a'], casesense=True, ie_key="rajiko")[0] # aSmartPhone7a formats = always happy path url_data = self._download_xml(f"https://radiko.jp/v3/station/stream/{device}/{station}.xml", station, note=f"Downloading {device} stream information") -- cgit v1.2.3-70-g09d2