Closed ekryski closed 10 years ago
Here's how you can unzip a file with the crawler:
crawler('file://' + __dirname + '/fixtures/test.zip') .pipe(crawler.unzip()) .on('entry', function(entry) { entry.pipe(crawler.through(function(data) { //so something on data buffer })); });
Here's how you can unzip a file with the crawler: