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