update cuevana for non ext

This commit is contained in:
Pas 2025-05-12 14:18:27 -06:00
parent 5e0a7eb286
commit e73b872590
2 changed files with 3 additions and 6 deletions

View file

@ -48,12 +48,8 @@ function embed(provider: { id: string; name: string; rank: number }) {
id: 'primary',
type: 'hls',
playlist: videoUrl,
flags: [],
flags: [flags.CORS_ALLOWED],
captions: [],
headers: {
Referer: 'https://streamwish.to/',
Origin: 'https://streamwish.to',
},
},
],
};

View file

@ -1,5 +1,6 @@
import { load } from 'cheerio';
import { flags } from '@/entrypoint/utils/targets';
import { SourcererOutput, makeSourcerer } from '@/providers/base';
import { MovieScrapeContext, ShowScrapeContext } from '@/utils/context';
import { NotFoundError } from '@/utils/errors';
@ -228,7 +229,7 @@ export const cuevana3Scraper = makeSourcerer({
name: 'Cuevana3',
rank: 80,
disabled: false,
flags: [],
flags: [flags.CORS_ALLOWED],
scrapeMovie: comboScraper,
scrapeShow: comboScraper,
});