From 0935630b21271a6d82d3619047bf0f33c4877f1d Mon Sep 17 00:00:00 2001 From: garret Date: Tue, 9 Jul 2024 21:22:26 +0100 Subject: add "mobile" as a possibility for x-radiko-connection --- yt_dlp_plugins/extractor/radiko.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'yt_dlp_plugins/extractor') 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, } -- cgit v1.2.3-70-g09d2