From 7ca880da7c352ea0f464c13e5cac7fe1bca01250 Mon Sep 17 00:00:00 2001 From: Alexandre Beloin Date: Mon, 14 Dec 2020 03:09:18 -0500 Subject: [PATCH] Update User-Agent to match chromium version, ref: #15 (#28) --- src/routes.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes.ts b/src/routes.ts index 37e153b..0dd0c45 100644 --- a/src/routes.ts +++ b/src/routes.ts @@ -69,7 +69,7 @@ type OverridesProps = 'headers' // We always set a Windows User-Agent because ARM builds are detected by CloudFlare -const DEFAULT_USER_AGENT = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Safari/537.36" +const DEFAULT_USER_AGENT = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36" const CHALLENGE_SELECTORS = ['#trk_jschal_js', '.ray_id', '.attack-box'] const TOKEN_INPUT_NAMES = ['g-recaptcha-response', 'h-captcha-response']