Stefan
Web Engineer & Gaming Enthusiast
Indexing / Listing
Scraping Content
/** Count all of the links from the Node.js build page **/
var jsdom = require("jsdom");
var url = "http://nodejs.org/dist/"
libs = ["http://code.jquery.com/jquery.js"];
jsdom.env( url, libs, function (errors, window) {
console.log("there have been %s nodejs releases!", window.$("a").length);
});
Crawler
By Stefan