Update videasy/videasy.js

This commit is contained in:
aka paul 2025-11-28 18:03:07 +00:00
parent 08ad0ca92f
commit 6417810514

View file

@ -186,7 +186,7 @@ async function extractEpisodes(url) {
async function extractStreamUrl(ID) { async function extractStreamUrl(ID) {
if (ID.includes('movie')) { if (ID.includes('movie')) {
const tmdbID = ID.replace('/movie/', ''); const tmdbID = ID.replace('/movie/', '');
const cinebyResponse = await soraFetch(`https://jumpfreedom.com/3/movie/${tmdbID}?append_to_response=external_ids&language=en&api_key=ad301b7cc82ffe19273e55e4d4206885`); const cinebyResponse = await soraFetch(`https://db.videasy.net/3/movie/${tmdbID}?append_to_response=external_ids&language=en&api_key=ad301b7cc82ffe19273e55e4d4206885`);
const cinebyData = await cinebyResponse.json(); const cinebyData = await cinebyResponse.json();
const title = encodeURIComponent(cinebyData.title); const title = encodeURIComponent(cinebyData.title);
@ -238,7 +238,7 @@ async function extractStreamUrl(ID) {
const seasonNumber = parts[3]; const seasonNumber = parts[3];
const episodeNumber = parts[4]; const episodeNumber = parts[4];
const cinebyResponse = await soraFetch(`https://jumpfreedom.com/3/tv/${tmdbID}?append_to_response=external_ids&language=en&api_key=ad301b7cc82ffe19273e55e4d4206885`); const cinebyResponse = await soraFetch(`https://db.videasy.net/3/tv/${tmdbID}?append_to_response=external_ids&language=en&api_key=ad301b7cc82ffe19273e55e4d4206885`);
const cinebyData = await cinebyResponse.json(); const cinebyData = await cinebyResponse.json();
const title = encodeURIComponent(cinebyData.name); const title = encodeURIComponent(cinebyData.name);