koishi-plugin-bind-bot 2.1.0 → 2.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -197,7 +197,9 @@ class ApiService {
|
|
|
197
197
|
params: { mid: uid },
|
|
198
198
|
timeout: 10000,
|
|
199
199
|
headers: {
|
|
200
|
-
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36'
|
|
200
|
+
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36',
|
|
201
|
+
'Referer': 'https://space.bilibili.com/',
|
|
202
|
+
'Origin': 'https://space.bilibili.com'
|
|
201
203
|
}
|
|
202
204
|
});
|
|
203
205
|
if (response.data.code === 0 && response.data.data) {
|