mirror of
https://github.com/p-stream/providers.git
synced 2026-01-11 20:10:33 +00:00
make rgshows ext only
lew wants it that way
This commit is contained in:
parent
2298bcb0e1
commit
b2ac6c2cf7
1 changed files with 2 additions and 4 deletions
|
|
@ -1,7 +1,5 @@
|
|||
import { flags } from '@/entrypoint/utils/targets';
|
||||
import { MovieScrapeContext, ShowScrapeContext } from '@/utils/context';
|
||||
import { NotFoundError } from '@/utils/errors';
|
||||
import { createM3U8ProxyUrl } from '@/utils/proxy';
|
||||
|
||||
import { SourcererOutput, makeSourcerer } from '../base';
|
||||
|
||||
|
|
@ -52,7 +50,7 @@ async function comboScraper(ctx: ShowScrapeContext | MovieScrapeContext): Promis
|
|||
type: 'hls',
|
||||
playlist: streamUrl,
|
||||
headers: m3u8Headers,
|
||||
flags: [flags.CORS_ALLOWED],
|
||||
flags: [],
|
||||
captions: [],
|
||||
},
|
||||
],
|
||||
|
|
@ -63,7 +61,7 @@ export const rgshowsScraper = makeSourcerer({
|
|||
id: 'rgshows',
|
||||
name: 'RGShows',
|
||||
rank: 173,
|
||||
flags: [flags.CORS_ALLOWED],
|
||||
flags: [],
|
||||
scrapeMovie: comboScraper,
|
||||
scrapeShow: comboScraper,
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue