This commit is contained in:
2020-09-22 11:49:28 +08:00
parent f04e2695c9
commit b88f5f01e5

View File

@@ -12,6 +12,7 @@ function tongzhi(info,type){
### [地址](${baseurl + info.url}) ### [地址](${baseurl + info.url})
` `
console.log({text:title,desp:data}) console.log({text:title,desp:data})
return ;
// console.log(`https://sc.ftqq.com/SCU48648T7fd03646ac5b5ea64eabc66150de705a5cb02e1c89ca0.send?text=${title}&desp=${data}`) // 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)=>{ axios.post(`https://sc.ftqq.com/SCU48648T7fd03646ac5b5ea64eabc66150de705a5cb02e1c89ca0.send`,`text=${title}&desp=${data}`).then((res)=>{
console.log(res.data) console.log(res.data)
@@ -24,6 +25,7 @@ function tongzhi(info,type){
function jiexi(html){ function jiexi(html){
let $ = cheerio.load(html) let $ = cheerio.load(html)
let newlist = {} let newlist = {}
console.log(buglist)
$("#bugList tbody tr").each((index,el)=>{ $("#bugList tbody tr").each((index,el)=>{
let id = $(el).find(".c-id a").text(); let id = $(el).find(".c-id a").text();
let title = $(el).find(".c-title").text(); let title = $(el).find(".c-title").text();