mirror of
https://gitlab.com/vyla-entertainment/sdk.git
synced 2026-11-21 01:25:42 -05:00
fixed cinecat and v1.30.0
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@vyla-entertainment/sdk",
|
"name": "@vyla-entertainment/sdk",
|
||||||
"version": "1.29.0",
|
"version": "1.30.0",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "node test/index.js",
|
"test": "node test/index.js",
|
||||||
"test:all": "node test/index.js all"
|
"test:all": "node test/index.js all"
|
||||||
|
|||||||
@@ -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',
|
key: 'cinemaarmy',
|
||||||
label: 'CinemaArmy',
|
label: 'CinemaArmy',
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import { fetchJson } from '../utils/helpers.js';
|
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) {
|
export async function getStream(args) {
|
||||||
const { id, s, e } = args || {};
|
const { id, s, e } = args || {};
|
||||||
@@ -15,8 +15,8 @@ export async function getStream(args) {
|
|||||||
if (!res || !res.ready || !res.url) return null;
|
if (!res || !res.ready || !res.url) return null;
|
||||||
|
|
||||||
const headers = {
|
const headers = {
|
||||||
Referer: `${BASE_URL}/`,
|
Referer: 'https://cinecat.eu/',
|
||||||
Origin: BASE_URL,
|
Origin: 'https://cinecat.eu',
|
||||||
};
|
};
|
||||||
|
|
||||||
const allUrls = [{
|
const allUrls = [{
|
||||||
|
|||||||
Reference in New Issue
Block a user