diff --git a/package.json b/package.json index 33b706a..cb04a0f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@vyla-entertainment/sdk", - "version": "1.29.0", + "version": "1.30.0", "scripts": { "test": "node test/index.js", "test:all": "node test/index.js all" diff --git a/src/config.js b/src/config.js index f24adec..b6f88d8 100644 --- a/src/config.js +++ b/src/config.js @@ -216,6 +216,25 @@ export const SOURCES = [ }], }, + { + key: 'cinecat', + label: 'CineCat', + sourceFile: 'cinecat', + proxyParam: 'cc', + timeout: 25000, + jitter: 500, + retries: 2, + multiUrl: false, + dedicated: true, + cdnHeaders: [{ + pattern: /zcdn3\.c3204a347-edge\.workers\.dev/i, + headers: { + Referer: 'https://cinecat.eu/', + Origin: 'https://cinecat.eu', + }, + }], + }, + { key: 'cinemaarmy', label: 'CinemaArmy', diff --git a/src/sources/cinecat.js b/src/sources/cinecat.js index 1a2f1a9..6e14f4c 100644 --- a/src/sources/cinecat.js +++ b/src/sources/cinecat.js @@ -1,6 +1,6 @@ import { fetchJson } from '../utils/helpers.js'; -const BASE_URL = 'https://zcdn.bluevelvet.space'; +const BASE_URL = 'https://zcdn3.c3204a347-edge.workers.dev'; export async function getStream(args) { const { id, s, e } = args || {}; @@ -15,8 +15,8 @@ export async function getStream(args) { if (!res || !res.ready || !res.url) return null; const headers = { - Referer: `${BASE_URL}/`, - Origin: BASE_URL, + Referer: 'https://cinecat.eu/', + Origin: 'https://cinecat.eu', }; const allUrls = [{