Realized there is already stuff out there for this. Deprecated :|
Simple functions to scrape websites
var littleshovel = require('littleshovel');
littleshovel.get("http://google.com", function(data){
console.log(data);
});
- url - URL of site you want to get
- callback - Called when data from site is returned. Receives response body as parameter.
Calls a get request to given url
- url - URL of site you want to get
- callback - Called when data from site is returned. Receives text of response as parameter.
LittleShovel is very early in development. Any help would be appreciated (new features or feature requests or refactoring or... anything!)
Copyright (c) 2014 Brandon Truong. Released under the MIT License