From 90d2878f2352ccdf2d0ff8dc69347197454d9383 Mon Sep 17 00:00:00 2001 From: garret Date: Fri, 8 Sep 2023 13:17:35 +0100 Subject: don't generate info twice --- yt_dlp_plugins/extractor/radiko.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3-70-g09d2