diff options
author | garret <garret@airmail.cc> | 2023-09-08 13:17:35 +0100 |
---|---|---|
committer | garret <garret@airmail.cc> | 2023-09-08 13:17:35 +0100 |
commit | 90d2878f2352ccdf2d0ff8dc69347197454d9383 (patch) | |
tree | 1a4767e9f749314295db1cf49a58072d1a38a543 | |
parent | f6e242278535317f15548cf5da55692afe8b09e9 (diff) | |
download | yt-dlp-rajiko-90d2878f2352ccdf2d0ff8dc69347197454d9383.tar.gz yt-dlp-rajiko-90d2878f2352ccdf2d0ff8dc69347197454d9383.tar.bz2 yt-dlp-rajiko-90d2878f2352ccdf2d0ff8dc69347197454d9383.zip |
don't generate info twice
-rwxr-xr-x | yt_dlp_plugins/extractor/radiko.py | 2 |
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) |