From 94c4f7d910b403ec2aec06bf8570a24e839b97a8 Mon Sep 17 00:00:00 2001 From: Michel Roux Date: Fri, 11 Jun 2021 23:07:51 +0200 Subject: [PATCH] Fix page --- livres_fr.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)