From 76597f4315db0ea9839319ff965bc4895cac9850 Mon Sep 17 00:00:00 2001 From: Ralf Vogler Date: Tue, 19 Dec 2023 11:52:35 +0100 Subject: [PATCH] eg: include link to game in captcha notification, closes #259 TODO use purchaseURL from https://github.com/vogler/free-games-claimer/pull/130 --- epic-games.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/epic-games.js b/epic-games.js index 06d66cc..90e0683 100644 --- a/epic-games.js +++ b/epic-games.js @@ -228,7 +228,7 @@ try { captcha.waitFor().then(async () => { // don't await, since element may not be shown // console.info(' Got hcaptcha challenge! NopeCHA extension will likely solve it.') console.error(' Got hcaptcha challenge! Lost trust due to too many login attempts? You can solve the captcha in the browser or get a new IP address.'); - await notify('epic-games: got captcha challenge right before claim. Use VNC to solve it manually.'); + await notify(`epic-games: got captcha challenge right before claim of ${title}. Use VNC to solve it manually.`); // TODO could even create purchase URL, see https://github.com/vogler/free-games-claimer/pull/130 // await page.waitForTimeout(2000); // const p = path.resolve(cfg.dir.screenshots, 'epic-games', 'captcha', `${filenamify(datetime())}.png`); // await captcha.screenshot({ path: p });