From 23cee74ef90b38c42bdef51499bc5fcdd7645dd0 Mon Sep 17 00:00:00 2001 From: zhl Date: Thu, 9 May 2019 13:52:24 +0800 Subject: [PATCH] =?UTF-8?q?xicidaili=E4=BD=BF=E7=94=A8=E4=BB=A3=E7=90=86?= =?UTF-8?q?=E6=8A=93=E5=8F=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/sites/proxy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sites/proxy.js b/src/sites/proxy.js index 16f7cbe..2773425 100644 --- a/src/sites/proxy.js +++ b/src/sites/proxy.js @@ -38,7 +38,7 @@ const parseOneXicidaili = async (idx) => { let url = `https://www.xicidaili.com/nn/${idx + 1}`; console.log('begin parse page:', url); try { - let html = await netUtil.getData(url, {}) + let html = await proxyUtil.getData(url) if (html) { const $ = cheerio.load(html); const trs = $("#ip_list tr");