From b88f5f01e59a36b1fe15efc42a898378b04f2301 Mon Sep 17 00:00:00 2001 From: luyuan <1162963624@qq.com> Date: Tue, 22 Sep 2020 11:49:28 +0800 Subject: [PATCH] . --- index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/index.js b/index.js index 945c848..e62354f 100644 --- a/index.js +++ b/index.js @@ -12,6 +12,7 @@ function tongzhi(info,type){ ### [地址](${baseurl + info.url}) ` console.log({text:title,desp:data}) + return ; // console.log(`https://sc.ftqq.com/SCU48648T7fd03646ac5b5ea64eabc66150de705a5cb02e1c89ca0.send?text=${title}&desp=${data}`) axios.post(`https://sc.ftqq.com/SCU48648T7fd03646ac5b5ea64eabc66150de705a5cb02e1c89ca0.send`,`text=${title}&desp=${data}`).then((res)=>{ console.log(res.data) @@ -24,6 +25,7 @@ function tongzhi(info,type){ function jiexi(html){ let $ = cheerio.load(html) let newlist = {} + console.log(buglist) $("#bugList tbody tr").each((index,el)=>{ let id = $(el).find(".c-id a").text(); let title = $(el).find(".c-title").text();