mirror of
https://github.com/sussy-code/providers.git
synced 2026-04-20 08:02:11 +00:00
update source order and ext requirements
This commit is contained in:
parent
d34b02e23a
commit
45109e5d91
4 changed files with 5 additions and 6 deletions
|
|
@ -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,
|
||||
});
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
});
|
||||
|
|
|
|||
|
|
@ -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(
|
||||
|
|
|
|||
|
|
@ -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}`, {
|
||||
|
|
|
|||
Loading…
Reference in a new issue