From 15f5a52bb2fa1b529d77ad8dd69d141c8d22aea7 Mon Sep 17 00:00:00 2001 From: asd <374367073@qq.com> Date: Sat, 7 Dec 2019 19:14:34 +0800 Subject: [PATCH] update --- 2019/用node写爬虫.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/2019/用node写爬虫.md b/2019/用node写爬虫.md index a890585..37f34d5 100644 --- a/2019/用node写爬虫.md +++ b/2019/用node写爬虫.md @@ -24,4 +24,6 @@ superagent.get(''<网址>).end((err,res)=>{ 3.使用cheerio 通过jq分析数据 -let $=cheerio.load() \ No newline at end of file +let $=cheerio.load(res.text) + +eg: 获取 \ No newline at end of file