From 5168bbce93f9872f05b94694d729519ac49f76b5 Mon Sep 17 00:00:00 2001 From: "J-K. Solbakken" Date: Wed, 17 Jul 2024 13:55:30 +0200 Subject: [PATCH] use latest ms edge user-agent --- linkfollower.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linkfollower.js b/linkfollower.js index b8789d9..03e5fc5 100644 --- a/linkfollower.js +++ b/linkfollower.js @@ -1,4 +1,4 @@ -const userAgent = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.135 Safari/537.36 Edge/12.246' +const userAgent = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.2592.102' const metaRefreshPattern = '(CONTENT|content)=["\']0;[ ]*(URL|url)=(.*?)(["\']*>)' const MAX_REDIRECT_DEPTH = 10;