chore(extractor): support dooodster links via DoodStream
This commit is contained in:
parent
73ea091b83
commit
141c737cf3
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue