use default user agent

This commit is contained in:
WebStreamr 2026-01-09 20:04:14 +00:00 committed by webstreamr
parent 63ffcca3b9
commit a6a7780b90

View file

@ -22,11 +22,7 @@ export class StreamUp extends Extractor {
}
protected async extractInternal(ctx: Context, url: URL, meta: Meta): Promise<UrlResult[]> {
const headers = {
'Referer': `${url.origin}/`,
'Origin': url.origin,
'User-Agent': 'Mozilla/5.0',
};
const headers = { Referer: `${url.origin}/`, Origin: url.origin };
const html = await this.fetcher.text(ctx, url, { headers });