update source order and ext requirements

This commit is contained in:
Ivan Evans 2025-01-02 11:12:37 -07:00
parent d34b02e23a
commit 45109e5d91
4 changed files with 5 additions and 6 deletions

View file

@ -91,7 +91,7 @@ async function comboScraper(ctx: MovieScrapeContext): Promise<SourcererOutput> {
export const ee3Scraper = makeSourcerer({
id: 'ee3',
name: 'EE3',
rank: 111,
rank: 80,
flags: [flags.CORS_ALLOWED],
scrapeMovie: comboScraper,
});

View file

@ -1,6 +1,5 @@
import { load } from 'cheerio';
import { flags } from '@/entrypoint/utils/targets';
import { SourcererEmbed, makeSourcerer } from '@/providers/base';
import { closeLoadScraper } from '@/providers/embeds/closeload';
import { ridooScraper } from '@/providers/embeds/ridoo';
@ -75,7 +74,7 @@ export const ridooMoviesScraper = makeSourcerer({
id: 'ridomovies',
name: 'RidoMovies',
rank: 100,
flags: [flags.CORS_ALLOWED],
flags: [],
scrapeMovie: universalScraper,
scrapeShow: universalScraper,
});

View file

@ -10,7 +10,7 @@ import { baseUrl, parseSearch } from './common';
export const tugaflixScraper = makeSourcerer({
id: 'tugaflix',
name: 'Tugaflix',
rank: 73,
rank: 90,
flags: [flags.IP_LOCKED],
scrapeMovie: async (ctx) => {
const searchResults = parseSearch(

View file

@ -48,8 +48,8 @@ async function getEmbeds(id: string, servers: string, ctx: ScrapeContext): Promi
export const warezcdnScraper = makeSourcerer({
id: 'warezcdn',
name: 'WarezCDN',
rank: 81,
flags: [flags.CORS_ALLOWED],
rank: 101,
flags: [],
scrapeMovie: async (ctx) => {
if (!ctx.media.imdbId) throw new NotFoundError('This source requires IMDB id.');
const serversPage = await ctx.proxiedFetcher<string>(`/filme/${ctx.media.imdbId}`, {