mirror of
https://github.com/movie-web/providers.git
synced 2025-09-13 14:33:26 +00:00
remove febbox HLS, it doesnt work
This commit is contained in:
@@ -2,9 +2,9 @@ import { gatherAllEmbeds, gatherAllSources } from '@/providers/all';
|
|||||||
import { Embed, Sourcerer } from '@/providers/base';
|
import { Embed, Sourcerer } from '@/providers/base';
|
||||||
|
|
||||||
export function getBuiltinSources(): Sourcerer[] {
|
export function getBuiltinSources(): Sourcerer[] {
|
||||||
return gatherAllSources();
|
return gatherAllSources().filter((v) => !v.disabled);
|
||||||
}
|
}
|
||||||
|
|
||||||
export function getBuiltinEmbeds(): Embed[] {
|
export function getBuiltinEmbeds(): Embed[] {
|
||||||
return gatherAllEmbeds();
|
return gatherAllEmbeds().filter((v) => !v.disabled);
|
||||||
}
|
}
|
||||||
|
@@ -15,6 +15,7 @@ export const febboxHlsScraper = makeEmbed({
|
|||||||
id: 'febbox-hls',
|
id: 'febbox-hls',
|
||||||
name: 'Febbox (HLS)',
|
name: 'Febbox (HLS)',
|
||||||
rank: 160,
|
rank: 160,
|
||||||
|
disabled: true,
|
||||||
async scrape(ctx) {
|
async scrape(ctx) {
|
||||||
const { type, id, season, episode } = parseInputUrl(ctx.url);
|
const { type, id, season, episode } = parseInputUrl(ctx.url);
|
||||||
const sharelinkResult = await ctx.proxiedFetcher<{
|
const sharelinkResult = await ctx.proxiedFetcher<{
|
||||||
|
Reference in New Issue
Block a user