From aa3875504dcc2c512aaaa50e2228a998a3e1d2bf Mon Sep 17 00:00:00 2001 From: Pas <74743263+Pasithea0@users.noreply.github.com> Date: Tue, 9 Dec 2025 22:58:11 -0700 Subject: [PATCH] update clarity and some errors --- src/providers/sources/fullhdfilmizle/index.ts | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/providers/sources/fullhdfilmizle/index.ts b/src/providers/sources/fullhdfilmizle/index.ts index aca1f30..f390847 100644 --- a/src/providers/sources/fullhdfilmizle/index.ts +++ b/src/providers/sources/fullhdfilmizle/index.ts @@ -1,3 +1,4 @@ +import { flags } from '@/entrypoint/utils/targets'; import { SourcererOutput, makeSourcerer } from '@/providers/base'; import { MovieScrapeContext } from '@/utils/context'; import { NotFoundError } from '@/utils/errors'; @@ -97,7 +98,7 @@ async function scrapeMovie(ctx: MovieScrapeContext): Promise { }); ctx.progress(80); - if (!playerResponse || playerResponse === '404') throw new NotFoundError('Source is inaccessible'); + if (!playerResponse || playerResponse === '404') throw new NotFoundError('Player 404: Source is inaccessible'); const playlistUrl = isVidmoxy ? extractVidmoxy(playerResponse) : extractAtom(playerResponse); @@ -109,7 +110,7 @@ async function scrapeMovie(ctx: MovieScrapeContext): Promise { type: 'hls', playlist: createM3U8ProxyUrl(playlistUrl, ctx.features, headers), headers, - flags: [], + flags: [flags.CORS_ALLOWED], captions: [], }, ], @@ -119,8 +120,8 @@ async function scrapeMovie(ctx: MovieScrapeContext): Promise { export const fullhdfilmizleScraper = makeSourcerer({ id: 'fullhdfilmizle', name: 'FullHDFilmizle (Turkish)', - rank: 2, + rank: 3, disabled: false, - flags: [], + flags: [flags.CORS_ALLOWED], scrapeMovie, });