From 17399eb39bdbdd6dbc814cb65a87c74b9338d234 Mon Sep 17 00:00:00 2001 From: garret Date: Sat, 29 Jul 2023 17:13:57 +0100 Subject: switch from Response.info() to Response.headers ERROR: Response.info() is deprecated, use Response.headers see #14 --- yt_dlp_plugins/extractor/radiko.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'yt_dlp_plugins') diff --git a/yt_dlp_plugins/extractor/radiko.py b/yt_dlp_plugins/extractor/radiko.py index 2314079..7deade6 100755 --- a/yt_dlp_plugins/extractor/radiko.py +++ b/yt_dlp_plugins/extractor/radiko.py @@ -443,7 +443,7 @@ class _RadikoBaseIE(InfoExtractor): self.write_debug(response) - auth1_header = auth1_handle.info() + auth1_header = auth1_handle.headers auth_token = auth1_header["X-Radiko-AuthToken"] key_length = int(auth1_header["X-Radiko-KeyLength"]) key_offset = int(auth1_header["X-Radiko-KeyOffset"]) -- cgit v1.2.3-70-g09d2