chore(extractor): add viaMediaFlowProxy flag to extractors

This commit is contained in:
WebStreamr 2025-06-30 13:31:56 +00:00
parent 947060b07e
commit 8c8bfd6051
No known key found for this signature in database
4 changed files with 8 additions and 0 deletions

View file

@ -8,6 +8,8 @@ export abstract class Extractor {
public readonly ttl: number = 900000; // 15m
public readonly viaMediaFlowProxy: boolean = false;
public abstract supports(ctx: Context, url: URL): boolean;
public normalize(url: URL): URL {

View file

@ -12,6 +12,8 @@ export class Mixdrop extends Extractor {
public override readonly ttl = 0;
public override viaMediaFlowProxy = true;
private readonly fetcher: Fetcher;
public constructor(fetcher: Fetcher) {

View file

@ -10,6 +10,8 @@ export class Uqload extends Extractor {
public override readonly ttl = 0;
public override viaMediaFlowProxy = true;
private readonly fetcher: Fetcher;
public constructor(fetcher: Fetcher) {

View file

@ -16,6 +16,8 @@ export class VixSrc extends Extractor {
public override readonly ttl = 0;
public override viaMediaFlowProxy = true;
private readonly fetcher: Fetcher;
public constructor(fetcher: Fetcher) {