From 72e55f25a0525b8c4ce7134e82fd91efcf65b9ee Mon Sep 17 00:00:00 2001 From: pplokijuhyg <1162963624@qq.com> Date: Sat, 4 Jan 2020 00:04:47 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E8=BE=93=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/reptile/pufei_net/find.js | 6 +++--- bin/reptile/taduo_net/find.js | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/reptile/pufei_net/find.js b/bin/reptile/pufei_net/find.js index 86bd232..b87deea 100644 --- a/bin/reptile/pufei_net/find.js +++ b/bin/reptile/pufei_net/find.js @@ -39,7 +39,7 @@ let gethtml = (name) => { } catch (error) { num++ - console.log(num) + // console.log(num) if(num > 10){ res([]) clearInterval(set) @@ -86,11 +86,11 @@ let get = (name) => { await gethtml(name).then((res) => { html = res }) - console.log(html) + // console.log(html) let $ = cheerio.load(html) let list = [] await $("#dmList ul li").each((index, ele) => { - console.log(index,123) + // console.log(index,123) let item = cheerio.load($(ele).html(), { decodeEntities: false }) let name = item("dl dt a").html() let date = item("dl dd p").eq(0).html() diff --git a/bin/reptile/taduo_net/find.js b/bin/reptile/taduo_net/find.js index e282cf6..243ef96 100644 --- a/bin/reptile/taduo_net/find.js +++ b/bin/reptile/taduo_net/find.js @@ -37,7 +37,7 @@ let gethtml = (name) => { } catch (error) { num++ - console.log(num) + // console.log(num) if(num > 10){ res([]) clearInterval(set)