Merge pull request #45 from vlOd2/production

This commit is contained in:
Pas 2025-12-25 14:22:21 -07:00 committed by GitHub
commit 827f68459b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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> {