diff --git a/epic-games.js b/epic-games.js index dd6569b..7a0ca06 100644 --- a/epic-games.js +++ b/epic-games.js @@ -99,7 +99,7 @@ for (let i = 1; i <= n; i++) { } catch (e) { console.log(e); const p = `screenshots/${new Date().toISOString()}.png`; - await page.screenshot({ path: p, fullPage: true }) + await page.screenshot({ path: p, fullPage: true }); console.info('Saved a screenshot of hcaptcha challenge to', p); console.error('Got hcaptcha challenge. To avoid it, get a link from https://www.hcaptcha.com/accessibility'); // TODO save this link in config and visit it daily to set accessibility cookie to avoid captcha challenge? }