!24 update renderers/puppeteer/lib/puppeteer.js.
Merge pull request !24 from ikuaki1009/N/A
This commit is contained in:
commit
a533715758
|
@ -243,7 +243,7 @@ export default class PuppeteerRenderer {
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
if (i !== 1 && i <= num) {
|
if (i !== 1 && i <= num) {
|
||||||
await page.evaluate(() => window.scrollBy(0, 7000))
|
await page.evaluate(() => window.scrollBy(0, pageHeight))
|
||||||
}
|
}
|
||||||
if (num === 1) {
|
if (num === 1) {
|
||||||
buff = await body.screenshot(randData)
|
buff = await body.screenshot(randData)
|
||||||
|
|
Loading…
Reference in New Issue