diff --git a/apps/tools.js b/apps/tools.js index a6c029d..5f217b4 100644 --- a/apps/tools.js +++ b/apps/tools.js @@ -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 => {