mirror of
https://github.com/p-stream/providers.git
synced 2026-04-21 14:02:16 +00:00
enable cuevana3 without ext
This commit is contained in:
parent
5b8749e18f
commit
812e037881
2 changed files with 3 additions and 2 deletions
|
|
@ -48,7 +48,7 @@ function embed(provider: { id: string; name: string; rank: number }) {
|
||||||
id: 'primary',
|
id: 'primary',
|
||||||
type: 'hls',
|
type: 'hls',
|
||||||
playlist: videoUrl,
|
playlist: videoUrl,
|
||||||
flags: [],
|
flags: [flags.CORS_ALLOWED],
|
||||||
captions: [],
|
captions: [],
|
||||||
headers: {
|
headers: {
|
||||||
Referer: 'https://streamwish.to/',
|
Referer: 'https://streamwish.to/',
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
import { load } from 'cheerio';
|
import { load } from 'cheerio';
|
||||||
|
|
||||||
|
import { flags } from '@/entrypoint/utils/targets';
|
||||||
import { SourcererOutput, makeSourcerer } from '@/providers/base';
|
import { SourcererOutput, makeSourcerer } from '@/providers/base';
|
||||||
import { MovieScrapeContext, ShowScrapeContext } from '@/utils/context';
|
import { MovieScrapeContext, ShowScrapeContext } from '@/utils/context';
|
||||||
import { NotFoundError } from '@/utils/errors';
|
import { NotFoundError } from '@/utils/errors';
|
||||||
|
|
@ -228,7 +229,7 @@ export const cuevana3Scraper = makeSourcerer({
|
||||||
name: 'Cuevana3',
|
name: 'Cuevana3',
|
||||||
rank: 80,
|
rank: 80,
|
||||||
disabled: false,
|
disabled: false,
|
||||||
flags: [],
|
flags: [flags.CORS_ALLOWED],
|
||||||
scrapeMovie: comboScraper,
|
scrapeMovie: comboScraper,
|
||||||
scrapeShow: comboScraper,
|
scrapeShow: comboScraper,
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue