mirror of
https://github.com/movie-web/providers.git
synced 2025-09-13 18:13:25 +00:00
fix ranks
This commit is contained in:
@@ -12,7 +12,7 @@ const fileRegex = /file:"(.*?)"/g;
|
|||||||
export const fileMoonScraper = makeEmbed({
|
export const fileMoonScraper = makeEmbed({
|
||||||
id: 'filemoon',
|
id: 'filemoon',
|
||||||
name: 'Filemoon',
|
name: 'Filemoon',
|
||||||
rank: 301,
|
rank: 400,
|
||||||
scrape: async (ctx) => {
|
scrape: async (ctx) => {
|
||||||
const embedRes = await ctx.fetcher<string>(ctx.url);
|
const embedRes = await ctx.fetcher<string>(ctx.url);
|
||||||
const evalCode = evalCodeRegex.exec(embedRes);
|
const evalCode = evalCodeRegex.exec(embedRes);
|
||||||
|
@@ -7,7 +7,7 @@ import { SubtitleResult, VidplaySourceResponse } from './types';
|
|||||||
export const vidplayScraper = makeEmbed({
|
export const vidplayScraper = makeEmbed({
|
||||||
id: 'vidplay',
|
id: 'vidplay',
|
||||||
name: 'VidPlay',
|
name: 'VidPlay',
|
||||||
rank: 300,
|
rank: 401,
|
||||||
scrape: async (ctx) => {
|
scrape: async (ctx) => {
|
||||||
const fileUrl = await getFileUrl(ctx);
|
const fileUrl = await getFileUrl(ctx);
|
||||||
const fileUrlRes = await ctx.proxiedFetcher<VidplaySourceResponse>(fileUrl, {
|
const fileUrlRes = await ctx.proxiedFetcher<VidplaySourceResponse>(fileUrl, {
|
||||||
|
@@ -69,5 +69,5 @@ export const vidSrcToScraper = makeSourcerer({
|
|||||||
scrapeMovie: universalScraper,
|
scrapeMovie: universalScraper,
|
||||||
scrapeShow: universalScraper,
|
scrapeShow: universalScraper,
|
||||||
flags: [],
|
flags: [],
|
||||||
rank: 300,
|
rank: 400,
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user