aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/yt_dlp_plugins/extractor/radiko.py
diff options
context:
space:
mode:
authorgarret <garret@airmail.cc>2023-07-29 17:13:57 +0100
committergarret <garret@airmail.cc>2023-07-29 17:13:57 +0100
commit17399eb39bdbdd6dbc814cb65a87c74b9338d234 (patch)
tree0a6265b5231f98442c114b1ddd69b4649860d457 /yt_dlp_plugins/extractor/radiko.py
parentc023fb38eda2e187c0fab4ed3a731a8609613638 (diff)
downloadyt-dlp-rajiko-17399eb39bdbdd6dbc814cb65a87c74b9338d234.tar.gz
yt-dlp-rajiko-17399eb39bdbdd6dbc814cb65a87c74b9338d234.tar.bz2
yt-dlp-rajiko-17399eb39bdbdd6dbc814cb65a87c74b9338d234.zip
switch from Response.info() to Response.headers
ERROR: Response.info() is deprecated, use Response.headers see #14
Diffstat (limited to 'yt_dlp_plugins/extractor/radiko.py')
-rwxr-xr-xyt_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 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"])