Is it possible to essentially run a wget from within a node.js app? I\'d like to have a script that crawls a site, and downloads a specific file, but the href
wget
href
For future reference though, I would recommend request, which makes it this easy to fetch that file:
var request = require("request"); request(url, function(err, res, body) { // Do funky stuff with body });