摘要: nodejs 爬虫原理,先用request请求页面内容,把内容获取到并iconv-lite设置编码格式,再用cheerio进行类似dom操作合并内容,转换写入文件中 1)获取单页面数据: 2)批量获取多页面数据: 阅读全文
posted @ 2017-06-03 07:09 Zion0707 阅读(164) 评论(0) 推荐(0) 编辑