mirror of
https://github.com/sussy-code/providers.git
synced 2026-04-19 23:52:05 +00:00
Fix m4u (kinda)
This commit is contained in:
parent
65db2b0fb1
commit
5636bd46a0
1 changed files with 2 additions and 2 deletions
|
|
@ -8,7 +8,7 @@ import { MovieScrapeContext, ShowScrapeContext } from '@/utils/context';
|
|||
import { makeCookieHeader, parseSetCookie } from '@/utils/cookie';
|
||||
import { NotFoundError } from '@/utils/errors';
|
||||
|
||||
let baseUrl = 'https://m4ufree.tv';
|
||||
let baseUrl = 'https://m4ufree.se';
|
||||
|
||||
const universalScraper = async (ctx: MovieScrapeContext | ShowScrapeContext) => {
|
||||
// this redirects to ww1.m4ufree.tv or ww2.m4ufree.tv
|
||||
|
|
@ -133,7 +133,7 @@ const universalScraper = async (ctx: MovieScrapeContext | ShowScrapeContext) =>
|
|||
}),
|
||||
);
|
||||
|
||||
const url = iframePage$('iframe').attr('src');
|
||||
const url = iframePage$('iframe').attr('src')?.trim();
|
||||
if (!url) continue;
|
||||
|
||||
ctx.progress(100);
|
||||
|
|
|
|||
Loading…
Reference in a new issue