mirror of
https://github.com/p-stream/providers.git
synced 2026-01-11 20:10:33 +00:00
Fix fsonline doodstream
This commit is contained in:
parent
6a94f978c6
commit
6f2ce89cd8
1 changed files with 1 additions and 1 deletions
|
|
@ -86,7 +86,7 @@ async function getStream(ctx: ScrapeContext, url: string): Promise<[string, stri
|
|||
}
|
||||
// console.log(LOG_PREFIX, 'Stream URL', streamURL);
|
||||
|
||||
return [streamURL, streamHost];
|
||||
return [streamURL, new URL(streamURL).hostname];
|
||||
}
|
||||
|
||||
export async function scrapeDoodstreamEmbed(ctx: EmbedScrapeContext): Promise<EmbedOutput> {
|
||||
|
|
|
|||
Loading…
Reference in a new issue