diff --git a/apps/query.js b/apps/query.js index bc68a9c..ba9c06f 100644 --- a/apps/query.js +++ b/apps/query.js @@ -402,7 +402,11 @@ export class query extends plugin { const tag = e.msg.replace(/#验车/g, ""); const reqUrl = `https://whatslink.info/api/v1/link?url=${tag}`; - const resp = await axios.get(reqUrl); + const resp = await axios.get(reqUrl, { + headers: { + "User-Agent": COMMON_USER_AGENT, + } + }); if (!resp.data) { e.reply("没有找到相关磁力"); return;