ranks
This commit is contained in:
parent
f39aaca3e3
commit
30e6067a3f
|
@ -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: 501,
|
rank: 301,
|
||||||
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: 499,
|
rank: 300,
|
||||||
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: 500,
|
rank: 300,
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue