diff options
| author | garret1317 <garret@airmail.cc> | 2025-11-06 16:23:47 +0000 |
|---|---|---|
| committer | garret1317 <garret@airmail.cc> | 2025-11-06 17:32:02 +0000 |
| commit | ea0337f0cd1a32cead7ce7beba005f5d01d57b83 (patch) | |
| tree | d9a7996c89927e7ff4bc38ee9e4c198c6e9dba67 /yt_dlp_plugins/extractor | |
| parent | c47372b8a40033de26ccce8a06a380a9aac5bcee (diff) | |
| download | yt-dlp-rajiko-ea0337f0cd1a32cead7ce7beba005f5d01d57b83.tar.gz yt-dlp-rajiko-ea0337f0cd1a32cead7ce7beba005f5d01d57b83.tar.bz2 yt-dlp-rajiko-ea0337f0cd1a32cead7ce7beba005f5d01d57b83.zip | |
fully switch to pc_html5 (they killed the radiko.jp ondemand stream)
Diffstat (limited to 'yt_dlp_plugins/extractor')
| -rw-r--r-- | yt_dlp_plugins/extractor/radiko.py | 7 |
1 files changed, 1 insertions, 6 deletions
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") |