Bump version and update febbox mp4 to not have subs as endpoint broke

This commit is contained in:
mrjvs 2024-01-06 21:52:01 +01:00
parent c7dff57a40
commit 48b3fcdd17
2 changed files with 2 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@movie-web/providers",
"version": "2.0.4",
"version": "2.0.5",
"description": "Package that contains all the providers of movie-web",
"main": "./lib/index.umd.js",
"types": "./lib/index.d.ts",

View File

@ -2,7 +2,6 @@ import { flags } from '@/entrypoint/utils/targets';
import { makeEmbed } from '@/providers/base';
import { parseInputUrl } from '@/providers/embeds/febbox/common';
import { getStreamQualities } from '@/providers/embeds/febbox/qualities';
import { getSubtitles } from '@/providers/embeds/febbox/subtitles';
export const febboxMp4Scraper = makeEmbed({
id: 'febbox-mp4',
@ -42,7 +41,7 @@ export const febboxMp4Scraper = makeEmbed({
stream: [
{
id: 'primary',
captions: await getSubtitles(ctx, id, fid, type, episode, season),
captions: [], // subtitles temporarily disabled, the endpoints are broken
qualities,
type: 'file',
flags: [flags.CORS_ALLOWED],