From ddf4f227b3350b87a91be6f2c063a993bf90f746 Mon Sep 17 00:00:00 2001 From: WebStreamr <210764791+webstreamr@users.noreply.github.com> Date: Mon, 22 Dec 2025 09:04:36 +0000 Subject: [PATCH] fix: use "Mozilla" instead of "Mozilla/5.0" as default user agent --- src/utils/Fetcher.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/Fetcher.ts b/src/utils/Fetcher.ts index 0ddce63..088b774 100644 --- a/src/utils/Fetcher.ts +++ b/src/utils/Fetcher.ts @@ -168,7 +168,7 @@ export class Fetcher { 'Accept-Language': 'en', ...(url.username && { Authorization: 'Basic ' + Buffer.from(`${url.username}:${url.password}`).toString('base64') }), 'Priority': 'u=0', - 'User-Agent': this.hostUserAgentMap.get(url.host) ?? 'Mozilla/5.0', + 'User-Agent': this.hostUserAgentMap.get(url.host) ?? 'Mozilla', ...(hostUserAgent && { 'User-Agent': hostUserAgent }), ...(cookieString && { Cookie: cookieString }), ...(ctx.ip && {