diff --git a/server/routes.ts b/server/routes.ts index 81e1662..b363915 100644 --- a/server/routes.ts +++ b/server/routes.ts @@ -389,7 +389,12 @@ export async function registerRoutes( async function fetchRssFeed(rssUrl: string): Promise { const resp = await fetch(rssUrl, { - headers: { "User-Agent": "Mozilla/5.0 (compatible; FolxTV/1.0)" }, + headers: { + "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36", + "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8", + "Accept-Language": "de-DE,de;q=0.9,en;q=0.5", + "Cache-Control": "no-cache", + }, redirect: "follow", }); if (!resp.ok) throw new Error(`RSS fetch failed: ${resp.status}`);