aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/yt_dlp_plugins/extractor
diff options
context:
space:
mode:
authorgarret <garret@airmail.cc>2023-09-08 13:17:35 +0100
committergarret <garret@airmail.cc>2023-09-08 13:17:35 +0100
commit90d2878f2352ccdf2d0ff8dc69347197454d9383 (patch)
tree1a4767e9f749314295db1cf49a58072d1a38a543 /yt_dlp_plugins/extractor
parentf6e242278535317f15548cf5da55692afe8b09e9 (diff)
downloadyt-dlp-rajiko-90d2878f2352ccdf2d0ff8dc69347197454d9383.tar.gz
yt-dlp-rajiko-90d2878f2352ccdf2d0ff8dc69347197454d9383.tar.bz2
yt-dlp-rajiko-90d2878f2352ccdf2d0ff8dc69347197454d9383.zip
don't generate info twice
Diffstat (limited to 'yt_dlp_plugins/extractor')
-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 696ccae..fe8d23e 100755
--- a/yt_dlp_plugins/extractor/radiko.py
+++ b/yt_dlp_plugins/extractor/radiko.py
@@ -441,7 +441,7 @@ class _RadikoBaseIE(InfoExtractor):
def _negotiate_token(self, station_region):
info = self._generate_random_info()
response, auth1_handle = self._download_webpage_handle("https://radiko.jp/v2/api/auth1", None,
- "Authenticating: step 1", headers=self._generate_random_info())
+ "Authenticating: step 1", headers=info)
self.write_debug(response)