Merge pull request #62 from movie-web/remove-febbox-hls

remove febbox HLS, it doesnt work
This commit is contained in:
mrjvs
2024-01-02 20:23:47 +01:00
committed by GitHub
3 changed files with 4 additions and 5 deletions

4
.github/CODEOWNERS vendored
View File

@@ -1,3 +1 @@
* @movie-web/core
.github @binaryoverload
* @movie-web/project-leads

View File

@@ -2,9 +2,9 @@ import { gatherAllEmbeds, gatherAllSources } from '@/providers/all';
import { Embed, Sourcerer } from '@/providers/base';
export function getBuiltinSources(): Sourcerer[] {
return gatherAllSources();
return gatherAllSources().filter((v) => !v.disabled);
}
export function getBuiltinEmbeds(): Embed[] {
return gatherAllEmbeds();
return gatherAllEmbeds().filter((v) => !v.disabled);
}

View File

@@ -15,6 +15,7 @@ export const febboxHlsScraper = makeEmbed({
id: 'febbox-hls',
name: 'Febbox (HLS)',
rank: 160,
disabled: true,
async scrape(ctx) {
const { type, id, season, episode } = parseInputUrl(ctx.url);
const sharelinkResult = await ctx.proxiedFetcher<{