]> git.quilime.com - visual-archive.git/commitdiff
Updated scrap.
authorGabriel Dunne <gdunne@quilime.com>
Sat, 23 Mar 2013 07:40:00 +0000 (00:40 -0700)
committerGabriel Dunne <gdunne@quilime.com>
Sat, 23 Mar 2013 07:40:00 +0000 (00:40 -0700)
scrape-from-file.js

index 3a8c1402c7bc84f97aeed6be5844ff2762ec4b6f..d55d72eb14f53c1f39c032630159c0bce3d0d986 100644 (file)
@@ -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);
-//     }
-// );