Merge pull request #68 from movie-web/disable-febbox-subs
Disable febbox subs
This commit is contained in:
commit
777f3d78e0
|
@ -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
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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],
|
||||
|
|
Loading…
Reference in New Issue