mirror of
https://github.com/sussy-code/providers.git
synced 2026-01-11 20:10:17 +00:00
disable m4ufree
updated source ID rules to fix cli, but still won't load in player 🤷♂️
This commit is contained in:
parent
45109e5d91
commit
355d86ce19
1 changed files with 12 additions and 6 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue