chore(extractor): support dooood URLs

This commit is contained in:
WebStreamr 2025-06-11 08:25:58 +00:00
parent 9797957778
commit 63079bf80a
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|dooodster/);
readonly supports = (_ctx: Context, url: URL): boolean => null !== url.host.match(/dood|do[0-9]go|dooodster|dooood/);
readonly normalize = (url: URL): URL => {
const videoId = url.pathname.split('/').slice(-1)[0] as string;