diff --git a/src/scrapers/euromilhoes.ts b/src/scrapers/euromilhoes.ts index 5027d57..7e5e15f 100644 --- a/src/scrapers/euromilhoes.ts +++ b/src/scrapers/euromilhoes.ts @@ -46,13 +46,13 @@ function getKey(element: cheerio.Cheerio) { numbers.forEach((value, i) => { console.log(value == ""); if (value == "") { - numbers.splice(i, i); + numbers.splice(i, 1); } }); stars.forEach((value, i) => { if (value == "") { - numbers.splice(i, i); + stars.splice(i, 1); } });