From: Gabriel Dunne Date: Sat, 23 Mar 2013 07:40:00 +0000 (-0700) Subject: Updated scrap. X-Git-Url: https://git.quilime.com/?a=commitdiff_plain;h=ddd12f1e935a266350a50d8e62dc6d30309f39db;p=visual-archive.git Updated scrap. --- diff --git a/scrape-from-file.js b/scrape-from-file.js index 3a8c140..d55d72e 100644 --- a/scrape-from-file.js +++ b/scrape-from-file.js @@ -14,37 +14,3 @@ function (line) { ); } ); - - -// var output = { "clips" : [] }; -// for (var i = 0; i < prelinger.identifiers.length; i++) { -// var id = prelinger.identifiers[i]; -// /* -// fs.appendFile('message.txt', 'data to append', function (err) { -// }); -// */ -// } - - - - -// fs.open("./output.txt", 'w', 0666, function(err, fd) { -// fs.writeSync(fd, JSON.stringify(output) + "\n", null, undefined, function(err, written) { -// }) -// }); - -// "http://archive.org/details/" + - -// var id = '0924_Greatest_Name_in_Wine_The_11_00_13_15'; -// cmd = spawn('phantomjs' ['phantom-scrape-id.js']); - - - - - -// var id = '0924_Greatest_Name_in_Wine_The_11_00_13_15'; -// var scrapeID = exec('phantomjs phantom-scrape-thumbnail.js http://archive.org/details/' + id, -// function (error, stdout, stderr) { -// console.log(stdout, stderr); -// } -// );