This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var https = require('https'); | |
var fs = require('fs'); | |
var request = require('request'); | |
var crypto = require('crypto'); | |
function nothing(){} | |
function download(uri, filename, callback) | |
{ | |
fs.exists(filename, function(exists) |