diff options
author | garret <garret@airmail.cc> | 2024-07-09 21:22:26 +0100 |
---|---|---|
committer | garret <garret@airmail.cc> | 2024-07-09 21:39:38 +0100 |
commit | 0935630b21271a6d82d3619047bf0f33c4877f1d (patch) | |
tree | 36ccd09e4031020bb8b4265b4eebc7f05d857c7a | |
parent | 542a0aea413c39d4c838b5b06ee2e57821ce73bd (diff) | |
download | yt-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
-rw-r--r-- | yt_dlp_plugins/extractor/radiko.py | 2 |
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, } |