Fix page
Some checks reported errors
continuous-integration/drone/push Build was killed

This commit is contained in:
Michel Roux 2021-06-11 23:07:51 +02:00
parent fc747ddfbb
commit 94c4f7d910

View File

@ -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)