From ddd12f1e935a266350a50d8e62dc6d30309f39db Mon Sep 17 00:00:00 2001 From: Gabriel Dunne Date: Sat, 23 Mar 2013 00:40:00 -0700 Subject: [PATCH] Updated scrap. --- scrape-from-file.js | 34 ---------------------------------- 1 file changed, 34 deletions(-) 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); -// } -// ); -- 2.34.1