Bump version, add changelog and reordered providers

This commit is contained in:
Jorrin 2024-03-29 16:51:57 +01:00
parent a5bf932299
commit 1024467636
18 changed files with 29 additions and 18 deletions

View File

@ -2,6 +2,17 @@
title: 'Changelog'
---
# Version 2.2.5
- Add Primewire provider
- Improve VidSrcTo search results
- Fixed Filemoon embeds
- Fixed febbox
- Disabled non-working providers
- Reordered providers in ranking
# Version 2.2.4
- Hotfix for HDRezka provider
# Version 2.2.3
- Fix VidSrcTo
- Add HDRezka provider

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{
"name": "@movie-web/providers",
"version": "2.2.3",
"version": "2.2.5",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@movie-web/providers",
"version": "2.2.3",
"version": "2.2.5",
"license": "MIT",
"dependencies": {
"cheerio": "^1.0.0-rc.12",

View File

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

View File

@ -9,7 +9,7 @@ import { NotFoundError } from '@/utils/errors';
export const flixhqScraper = makeSourcerer({
id: 'flixhq',
name: 'FlixHQ',
rank: 100,
rank: 61,
flags: [flags.CORS_ALLOWED],
disabled: true,
async scrapeMovie(ctx) {

View File

@ -12,7 +12,7 @@ export const gomoviesBase = `https://gomovies.sx`;
export const goMoviesScraper = makeSourcerer({
id: 'gomovies',
name: 'GOmovies',
rank: 110,
rank: 60,
flags: [flags.CORS_ALLOWED],
disabled: true,
async scrapeShow(ctx) {

View File

@ -22,7 +22,7 @@ async function universalScraper(ctx: ShowScrapeContext | MovieScrapeContext): Pr
export const goojaraScraper = makeSourcerer({
id: 'goojara',
name: 'Goojara',
rank: 225,
rank: 70,
flags: [],
disabled: true,
scrapeShow: universalScraper,

View File

@ -120,7 +120,7 @@ const universalScraper = async (ctx: ShowScrapeContext | MovieScrapeContext): Pr
export const hdRezkaScraper = makeSourcerer({
id: 'hdrezka',
name: 'HDRezka',
rank: 195,
rank: 120,
flags: [flags.CORS_ALLOWED, flags.IP_LOCKED],
scrapeShow: universalScraper,
scrapeMovie: universalScraper,

View File

@ -12,7 +12,7 @@ import { search } from './search';
export const kissAsianScraper = makeSourcerer({
id: 'kissasian',
name: 'KissAsian',
rank: 130,
rank: 40,
flags: [flags.CORS_ALLOWED],
disabled: true,

View File

@ -33,7 +33,7 @@ export const lookmovieScraper = makeSourcerer({
id: 'lookmovie',
name: 'LookMovie',
disabled: true,
rank: 700,
rank: 50,
flags: [flags.IP_LOCKED],
scrapeShow: universalScraper,
scrapeMovie: universalScraper,

View File

@ -76,7 +76,7 @@ const universalScraper = async (ctx: MovieScrapeContext | ShowScrapeContext) =>
export const nepuScraper = makeSourcerer({
id: 'nepu',
name: 'Nepu',
rank: 111,
rank: 80,
flags: [],
disabled: true,
scrapeMovie: universalScraper,

View File

@ -71,7 +71,7 @@ async function getStreams(title: string) {
export const primewireScraper = makeSourcerer({
id: 'primewire',
name: 'Primewire',
rank: 250,
rank: 110,
flags: [flags.CORS_ALLOWED],
async scrapeMovie(ctx) {
if (!ctx.media.imdbId) throw new Error('No imdbId provided');

View File

@ -11,7 +11,7 @@ export const remotestreamScraper = makeSourcerer({
id: 'remotestream',
name: 'Remote Stream',
disabled: true,
rank: 55,
rank: 20,
flags: [flags.CORS_ALLOWED],
async scrapeShow(ctx) {
const seasonNumber = ctx.media.season.number;

View File

@ -68,7 +68,7 @@ const universalScraper = async (ctx: MovieScrapeContext | ShowScrapeContext) =>
export const ridooMoviesScraper = makeSourcerer({
id: 'ridomovies',
name: 'RidoMovies',
rank: 105,
rank: 100,
flags: [flags.CORS_ALLOWED],
scrapeMovie: universalScraper,
scrapeShow: universalScraper,

View File

@ -41,7 +41,7 @@ async function comboScraper(ctx: ShowScrapeContext | MovieScrapeContext): Promis
export const showboxScraper = makeSourcerer({
id: 'showbox',
name: 'Showbox',
rank: 400,
rank: 150,
flags: [flags.CORS_ALLOWED, flags.CF_BLOCKED],
scrapeShow: comboScraper,
scrapeMovie: comboScraper,

View File

@ -57,7 +57,7 @@ const universalScraper = async (ctx: ShowScrapeContext | MovieScrapeContext): Pr
export const smashyStreamScraper = makeSourcerer({
id: 'smashystream',
name: 'SmashyStream',
rank: 70,
rank: 30,
flags: [flags.CORS_ALLOWED],
disabled: true,
scrapeMovie: universalScraper,

View File

@ -6,7 +6,7 @@ import { scrapeShow } from '@/providers/sources/vidsrc/scrape-show';
export const vidsrcScraper = makeSourcerer({
id: 'vidsrc',
name: 'VidSrc',
rank: 120,
rank: 90,
flags: [flags.CORS_ALLOWED],
scrapeMovie,
scrapeShow,

View File

@ -79,5 +79,5 @@ export const vidSrcToScraper = makeSourcerer({
scrapeMovie: universalScraper,
scrapeShow: universalScraper,
flags: [flags.CORS_ALLOWED],
rank: 300,
rank: 130,
});

View File

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