mirror of
https://github.com/movie-web/providers.git
synced 2025-09-13 13:03:25 +00:00
Remove CORS flag for febbox hls
This commit is contained in:
@@ -1,5 +1,4 @@
|
|||||||
import { MediaTypes } from '@/entrypoint/utils/media';
|
import { MediaTypes } from '@/entrypoint/utils/media';
|
||||||
import { flags } from '@/entrypoint/utils/targets';
|
|
||||||
import { makeEmbed } from '@/providers/base';
|
import { makeEmbed } from '@/providers/base';
|
||||||
import { parseInputUrl } from '@/providers/embeds/febbox/common';
|
import { parseInputUrl } from '@/providers/embeds/febbox/common';
|
||||||
import { getStreams } from '@/providers/embeds/febbox/fileList';
|
import { getStreams } from '@/providers/embeds/febbox/fileList';
|
||||||
@@ -40,7 +39,7 @@ export const febboxHlsScraper = makeEmbed({
|
|||||||
{
|
{
|
||||||
id: 'primary',
|
id: 'primary',
|
||||||
type: 'hls',
|
type: 'hls',
|
||||||
flags: [flags.CORS_ALLOWED],
|
flags: [],
|
||||||
captions: await getSubtitles(ctx, id, firstStream.fid, type as MediaTypes, season, episode),
|
captions: await getSubtitles(ctx, id, firstStream.fid, type as MediaTypes, season, episode),
|
||||||
playlist: `https://www.febbox.com/hls/main/${firstStream.oss_fid}.m3u8`,
|
playlist: `https://www.febbox.com/hls/main/${firstStream.oss_fid}.m3u8`,
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user