Merge pull request #68 from movie-web/disable-febbox-subs

Disable febbox subs
This commit is contained in:
mrjvs 2024-01-06 21:56:24 +01:00 committed by GitHub
commit 777f3d78e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 3 deletions

View File

@ -2,6 +2,9 @@
title: 'Changelog'
---
# Version 2.0.5
- Disable subtitles for febbox-mp4. As their endpoint doesn't work anymore.
# Version 2.0.4
- Added providers:
- Add VidSrcTo provider with Vidplay and Filemoon embeds

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],