disable m4ufree

updated source ID rules to fix cli, but still won't load in player 🤷‍♂️
This commit is contained in:
Ivan Evans 2025-01-02 11:15:45 -07:00
parent 45109e5d91
commit 355d86ce19

View file

@ -113,11 +113,16 @@ const universalScraper = async (ctx: MovieScrapeContext | ShowScrapeContext) =>
for (const source of sources) {
let embedId;
if (source.name === 'm')
embedId = 'playm4u-m'; // TODO
else if (source.name === 'nm') embedId = 'playm4u-nm';
else if (source.name === 'h') embedId = 'hydrax';
else continue;
if (source.name === 'm') {
embedId = 'playm4u-m';
} else if (source.name === 'nm') {
continue;
} else if (source.name === 'h') {
embedId = 'playm4u-nm';
} else {
continue;
}
const iframePage$ = load(
await ctx.proxiedFetcher<string>('/ajax', {
@ -149,7 +154,8 @@ const universalScraper = async (ctx: MovieScrapeContext | ShowScrapeContext) =>
export const m4uScraper = makeSourcerer({
id: 'm4ufree',
name: 'M4UFree',
rank: 125,
rank: 60,
disabled: true,
flags: [],
scrapeMovie: universalScraper,
scrapeShow: universalScraper,