您的位置:首页 > Web前端 > Node.js

jsdom + jQuery in 5 lines with node.js

2012-03-17 01:28 477 查看
jsdom + jQuery in 5 lines with node.jsblog.nodejitsu.com - scaling node.js applications one callback at a time.

jsdom + jQuery in 5 lines with node.js

Screen scraping has been a focus of engineering for quite some time. Every major language out there has their own library of choice for performing these tasks:

Ruby hpricot, nokogiri
Python beautiful-soup, scrapy
Perl pQuery
PHP PHP DOM
The challenge with using these libraries is that they all have their own quirks that can make working with HTML, CSS and Javascript challenging.

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: