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();