From 767cb93264eb5d741aff70d35ce12313e7218c15 Mon Sep 17 00:00:00 2001 From: stmtc233 <69023595+stmtc233@users.noreply.github.com> Date: Thu, 13 Jun 2024 10:30:14 +0800 Subject: [PATCH] Update wbi.md (#1034) --- docs/misc/sign/wbi.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/misc/sign/wbi.md b/docs/misc/sign/wbi.md index 571cba0362..7ed51b242f 100644 --- a/docs/misc/sign/wbi.md +++ b/docs/misc/sign/wbi.md @@ -163,7 +163,7 @@ def encWbi(params: dict, img_key: str, sub_key: str): def getWbiKeys() -> tuple[str, str]: '获取最新的 img_key 和 sub_key' - headers = { + headers = { 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.3', 'Referer': 'https://www.bilibili.com/' }