From 1dd9d324e6a39b70bd7c171aed5853430b0f6159 Mon Sep 17 00:00:00 2001 From: WebStreamr <210764791+webstreamr@users.noreply.github.com> Date: Sun, 30 Nov 2025 07:29:27 +0000 Subject: [PATCH] chore: adapt default user agent slightly --- 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 f180bd4..0079ab0 100644 --- a/src/utils/Fetcher.ts +++ b/src/utils/Fetcher.ts @@ -157,7 +157,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', + 'User-Agent': this.hostUserAgentMap.get(url.host) ?? 'Mozilla/5.0', ...(hostUserAgent && { 'User-Agent': hostUserAgent }), ...(cookieString && { Cookie: cookieString }), ...(ctx.ip && {