fixed cinecat and v1.30.0

This commit is contained in:
2026-11-16 20:02:18 -08:00
parent 3063544386
commit a647e37c92
3 changed files with 23 additions and 4 deletions

View File

@@ -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"

View File

@@ -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',

View File

@@ -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 = [{