working late
This commit is contained in:
Pas 2025-03-07 09:00:51 -07:00
parent 4c64097658
commit 7bcb8e5a15

View file

@ -7,7 +7,6 @@ import { NotFoundError } from '@/utils/errors';
const apiUrl = 'https://tom.autoembed.cc';
async function comboScraper(ctx: ShowScrapeContext | MovieScrapeContext): Promise<SourcererOutput> {
// Construct the API endpoint similar to the working example
const mediaType = ctx.media.type === 'show' ? 'tv' : 'movie';
let id = ctx.media.tmdbId;