mirror of
https://github.com/p-stream/providers.git
synced 2026-01-11 20:10:33 +00:00
Merge pull request #45 from vlOd2/production
This commit is contained in:
commit
827f68459b
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