mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-29 00:24:13 +08:00
shit
This commit is contained in:
parent
0bb8abc871
commit
35a387d0e8
@ -41,7 +41,7 @@ class searcher(common):
|
||||
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36",
|
||||
}
|
||||
if self.config["access-token"].strip() != "":
|
||||
headers["Authorization"] = ("Bearer " + self.config["access-token"],)
|
||||
headers["Authorization"] = "Bearer " + self.config["access-token"]
|
||||
response = self.proxysession.get(
|
||||
f"https://api.bgm.tv/v0/subjects/{sid}", headers=headers
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user