From ea0337f0cd1a32cead7ce7beba005f5d01d57b83 Mon Sep 17 00:00:00 2001 From: garret1317 Date: Thu, 6 Nov 2025 16:23:47 +0000 Subject: fully switch to pc_html5 (they killed the radiko.jp ondemand stream) --- yt_dlp_plugins/extractor/radiko.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'yt_dlp_plugins') diff --git a/yt_dlp_plugins/extractor/radiko.py b/yt_dlp_plugins/extractor/radiko.py index 3fd19d9..5005104 100644 --- a/yt_dlp_plugins/extractor/radiko.py +++ b/yt_dlp_plugins/extractor/radiko.py @@ -255,12 +255,7 @@ class _RadikoBaseIE(InfoExtractor): def _get_station_formats(self, station, timefree, auth_data, start_at=None, end_at=None, use_pc_html5=False): config_device = traverse_obj(self._configuration_arg('device', casesense=True, ie_key="rajiko"), 0) - - if not use_pc_html5: - device = config_device or "aSmartPhone7a" # still has the radiko.jp on-demand one for timefree - else: - device = config_device or "pc_html5" # the on-demand one doesnt work with timefree30 stuff sadly - # so just use pc_html5 which has everything + device = config_device or "pc_html5" 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