aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/yt_dlp_plugins/extractor/radiko.py
diff options
context:
space:
mode:
authorgarret <garret@airmail.cc>2024-08-05 09:01:49 +0100
committergarret <garret@airmail.cc>2024-08-05 09:02:05 +0100
commitd4b276f9e2af7050501689739466c749604682dd (patch)
treed786796d212ab72bc33f0554dcc4d375f36960e4 /yt_dlp_plugins/extractor/radiko.py
parenteb94441420845970d48fe7b4e30cc5eed78ac95a (diff)
downloadyt-dlp-rajiko-d4b276f9e2af7050501689739466c749604682dd.tar.gz
yt-dlp-rajiko-d4b276f9e2af7050501689739466c749604682dd.tar.bz2
yt-dlp-rajiko-d4b276f9e2af7050501689739466c749604682dd.zip
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")
Diffstat (limited to 'yt_dlp_plugins/extractor/radiko.py')
-rw-r--r--yt_dlp_plugins/extractor/radiko.py2
1 files changed, 1 insertions, 1 deletions
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")