在线时间:8:00-16:00
132-9538-2358
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
node版的轻量级爬虫框架
特性:
$ npm install nspider22
var nspider=require('nspider22')var nsp=new nspider({name:'baidu'});nsp.onHtml('a',function(ele){ console.log(ele.$.attr('href'));})nsp.visit("http://www.baidu.com");
评论
请发表评论