This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var depth = parseInt(prompt("Please enter the scraping depth (we recommend between 1 to 3):", "2")); | |
if(!Number.isInteger(depth) || depth < 1) { | |
alert("Invalid depth! Setting depth to default (2)."); | |
depth = 2; | |
} | |
var count = 1; | |
async function start() { |