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
3 changed files with 5 additions and 3 deletions

View File

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

View File

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

View File

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