mirror of
https://github.com/movie-web/providers.git
synced 2025-09-13 14:53:24 +00:00
more prettier crap
This commit is contained in:
@@ -12,12 +12,11 @@ async function universalScraper(ctx: ShowScrapeContext | MovieScrapeContext): Pr
|
|||||||
const embeds = await scrapeIds(ctx, ctx.media, goojaraData);
|
const embeds = await scrapeIds(ctx, ctx.media, goojaraData);
|
||||||
if (embeds?.length === 0) throw new NotFoundError('No embeds found');
|
if (embeds?.length === 0) throw new NotFoundError('No embeds found');
|
||||||
|
|
||||||
|
|
||||||
ctx.progress(60);
|
ctx.progress(60);
|
||||||
|
|
||||||
return {
|
return {
|
||||||
embeds
|
embeds,
|
||||||
}
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
export const goojaraScraper = makeSourcerer({
|
export const goojaraScraper = makeSourcerer({
|
||||||
|
Reference in New Issue
Block a user