missing ;
This commit is contained in:
parent
4e90fb67c6
commit
f1dd867d39
1 changed files with 1 additions and 1 deletions
|
|
@ -99,7 +99,7 @@ for (let i = 1; i <= n; i++) {
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.log(e);
|
console.log(e);
|
||||||
const p = `screenshots/${new Date().toISOString()}.png`;
|
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.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?
|
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?
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue