mirror of
https://github.com/Jerryplusy/rc-plugin.git
synced 2025-10-14 16:19:18 +00:00
🐞 fix: 修复 wb 无法解析问题
This commit is contained in:
parent
282d5be643
commit
2a6332ccbe
@ -1318,12 +1318,13 @@ export class tools extends plugin {
|
||||
return;
|
||||
}
|
||||
const id = weiboId.split("/")[1] || weiboId;
|
||||
const that = this;
|
||||
|
||||
axios.get(WEIBO_SINGLE_INFO.replace("{}", id), {
|
||||
headers: {
|
||||
"User-Agent": COMMON_USER_AGENT,
|
||||
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9",
|
||||
"cookie": "_T_WM=40835919903; WEIBOCN_FROM=1110006030; MLOGIN=0; XSRF-TOKEN=4399c8",
|
||||
"Referer": `https://m.weibo.cn/detail/${ id }`,
|
||||
}
|
||||
})
|
||||
.then(async resp => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user