Skip to content

Commit

Permalink
fix: out total scan time in minutes
Browse files Browse the repository at this point in the history
  • Loading branch information
popstas committed Aug 24, 2020
1 parent 9dbfa17 commit d2a787d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/scrap-site.js
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,8 @@ module.exports = async (baseUrl, options = {}) => {

if (options.removeCsv) fs.unlinkSync(csvPath);

console.log(`Finish: ${t} sec (${perPage} per page)`);
const mins = Number(t / 60).toFixed(1);
console.log(`Finish: ${mins} mins (${perPage} sec per page)`);

};

Expand Down

0 comments on commit d2a787d

Please sign in to comment.