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' 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 # Version 2.2.3
- Fix VidSrcTo - Fix VidSrcTo
- Add HDRezka provider - Add HDRezka provider

4
package-lock.json generated
View File

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

View File

@@ -1,6 +1,6 @@
{ {
"name": "@movie-web/providers", "name": "@movie-web/providers",
"version": "2.2.4", "version": "2.2.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

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

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: 110, rank: 60,
flags: [flags.CORS_ALLOWED], flags: [flags.CORS_ALLOWED],
disabled: true, disabled: true,
async scrapeShow(ctx) { async scrapeShow(ctx) {

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -79,5 +79,5 @@ export const vidSrcToScraper = makeSourcerer({
scrapeMovie: universalScraper, scrapeMovie: universalScraper,
scrapeShow: universalScraper, scrapeShow: universalScraper,
flags: [flags.CORS_ALLOWED], 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({ export const zoechipScraper = makeSourcerer({
id: 'zoechip', id: 'zoechip',
name: 'ZoeChip', name: 'ZoeChip',
rank: 200, rank: 62,
flags: [flags.CORS_ALLOWED], flags: [flags.CORS_ALLOWED],
disabled: true, disabled: true,
scrapeMovie, scrapeMovie,