make rive ext only

This commit is contained in:
Pas 2025-08-17 09:33:32 -06:00
parent 9feb9c943b
commit f41ecb6a61
2 changed files with 6 additions and 7 deletions

View file

@ -1,7 +1,5 @@
/* eslint-disable no-console */
import { flags } from '@/entrypoint/utils/targets';
import { NotFoundError } from '@/utils/errors';
import { createM3U8ProxyUrl } from '@/utils/proxy';
import { EmbedOutput, makeEmbed } from '../base';
import { labelToLanguageCode } from '../captions';
@ -105,7 +103,8 @@ export function makeRivestreamEmbed(id: string, rank: number = 100) {
id: 'primary',
type: 'file',
qualities,
flags: [flags.CORS_ALLOWED],
headers,
flags: [],
captions,
},
],
@ -118,8 +117,9 @@ export function makeRivestreamEmbed(id: string, rank: number = 100) {
{
id: 'primary',
type: 'hls',
playlist: createM3U8ProxyUrl(firstSource.url, headers),
flags: [flags.CORS_ALLOWED],
playlist: firstSource.url,
headers,
flags: [],
captions,
},
],

View file

@ -1,4 +1,3 @@
import { flags } from '@/entrypoint/utils/targets';
import { SourcererOutput, makeSourcerer } from '@/providers/base';
import { MovieScrapeContext, ShowScrapeContext } from '@/utils/context';
@ -122,7 +121,7 @@ export const rivestreamScraper = makeSourcerer({
name: 'Rivestream',
rank: 134,
disabled: false,
flags: [flags.CORS_ALLOWED],
flags: [],
scrapeMovie: comboScraper,
scrapeShow: comboScraper,
});