chore(extractor): support dooodster links via DoodStream

This commit is contained in:
WebStreamr 2025-06-10 15:48:11 +00:00
parent 73ea091b83
commit 141c737cf3
No known key found for this signature in database

View file

@ -18,7 +18,7 @@ export class DoodStream implements Extractor {
this.fetcher = fetcher;
}
readonly supports = (_ctx: Context, url: URL): boolean => null !== url.host.match(/dood|do[0-9]go/);
readonly supports = (_ctx: Context, url: URL): boolean => null !== url.host.match(/dood|do[0-9]go|dooodster/);
readonly normalize = (url: URL): URL => {
const videoId = url.pathname.split('/').slice(-1)[0] as string;