diff --git a/livres_fr.js b/livres_fr.js index fc5d8bb..ee5700c 100644 --- a/livres_fr.js +++ b/livres_fr.js @@ -29,7 +29,7 @@ for (let i = 0; i <= MAX_VOLUME; i++) { (async () => { while (true) { - const response = await fetch(`https://www.jeunesecrivains.com/t53075p${page * 15}-the-wandering-inn-fan-traduction-fantastique-aventure`) + const response = await fetch(`https://www.jeunesecrivains.com/t53075p${page++ * 15}-the-wandering-inn-fan-traduction-fantastique-aventure`) const responseHtml = await response.text() const html = cheerio.load(responseHtml)