aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/yt_dlp_plugins
diff options
context:
space:
mode:
authorgarret <garret@airmail.cc>2024-07-09 21:22:26 +0100
committergarret <garret@airmail.cc>2024-07-09 21:39:38 +0100
commit0935630b21271a6d82d3619047bf0f33c4877f1d (patch)
tree36ccd09e4031020bb8b4265b4eebc7f05d857c7a /yt_dlp_plugins
parent542a0aea413c39d4c838b5b06ee2e57821ce73bd (diff)
downloadyt-dlp-rajiko-0935630b21271a6d82d3619047bf0f33c4877f1d.tar.gz
yt-dlp-rajiko-0935630b21271a6d82d3619047bf0f33c4877f1d.tar.bz2
yt-dlp-rajiko-0935630b21271a6d82d3619047bf0f33c4877f1d.zip
add "mobile" as a possibility for x-radiko-connection
Diffstat (limited to 'yt_dlp_plugins')
-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 577ca9c..4d4f482 100644
--- a/yt_dlp_plugins/extractor/radiko.py
+++ b/yt_dlp_plugins/extractor/radiko.py
@@ -159,7 +159,7 @@ class _RadikoBaseIE(InfoExtractor):
**device_info,
"X-Radiko-AuthToken": auth_token,
"X-Radiko-Location": coords,
- "X-Radiko-Connection": "wifi",
+ "X-Radiko-Connection": random.choice(("wifi", "mobile",)),
"X-Radiko-Partialkey": partial_key,
}