remove user-agent

This commit is contained in:
lonelil
2024-04-12 16:59:51 +08:00
parent 79a8fdca6d
commit 0a2259b1f4

View File

@@ -14,8 +14,6 @@ export async function getExternalPlayerUrl(ctx: ScrapeContext, embedId: string,
baseUrl: warezcdnApiBase,
headers: {
Referer: `${warezcdnApiBase}/getEmbed.php?${new URLSearchParams(params)}`,
'User-Agent':
'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36',
},
query: params,
});