Merge pull request #39 from movie-web/rerankings

Rerankings
This commit is contained in:
Jip Frijlink
2023-12-15 20:55:36 +01:00
committed by GitHub
4 changed files with 4 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
{ {
"name": "@movie-web/providers", "name": "@movie-web/providers",
"version": "1.1.4", "version": "1.1.5",
"description": "Package that contains all the providers of movie-web", "description": "Package that contains all the providers of movie-web",
"main": "./lib/index.umd.js", "main": "./lib/index.umd.js",
"types": "./lib/index.d.ts", "types": "./lib/index.d.ts",

View File

@@ -12,7 +12,7 @@ export const gomoviesBase = `https://gomovies.sx`;
export const goMoviesScraper = makeSourcerer({ export const goMoviesScraper = makeSourcerer({
id: 'gomovies', id: 'gomovies',
name: 'GOmovies', name: 'GOmovies',
rank: 200, rank: 110,
flags: [flags.NO_CORS], flags: [flags.NO_CORS],
async scrapeShow(ctx) { async scrapeShow(ctx) {
const search = await ctx.proxiedFetcher<string>(`/ajax/search`, { const search = await ctx.proxiedFetcher<string>(`/ajax/search`, {

View File

@@ -12,6 +12,7 @@ export const showBoxScraper = makeSourcerer({
id: 'show_box', id: 'show_box',
name: 'ShowBox', name: 'ShowBox',
rank: 20, rank: 20,
disabled: true,
flags: [flags.NO_CORS], flags: [flags.NO_CORS],
async scrapeMovie(ctx) { async scrapeMovie(ctx) {
const search = await ctx.proxiedFetcher<string>('/search', { const search = await ctx.proxiedFetcher<string>('/search', {

View File

@@ -6,7 +6,7 @@ import { scrapeShow } from '@/providers/sources/zoechip/scrape-show';
export const zoechipScraper = makeSourcerer({ export const zoechipScraper = makeSourcerer({
id: 'zoechip', id: 'zoechip',
name: 'ZoeChip', name: 'ZoeChip',
rank: 110, rank: 200,
flags: [flags.NO_CORS], flags: [flags.NO_CORS],
scrapeMovie, scrapeMovie,
scrapeShow, scrapeShow,