mirror of
https://git.luna-app.eu/50n50/sources
synced 2026-01-12 09:28:35 +01:00
Update videasy/videasy.js
This commit is contained in:
parent
f59a8b3a40
commit
419994f016
1 changed files with 5 additions and 5 deletions
|
|
@ -194,7 +194,7 @@ async function extractStreamUrl(ID) {
|
|||
const imdbId = cinebyData.external_ids?.imdb_id || '';
|
||||
const tmdbId = cinebyData.id;
|
||||
|
||||
const fullUrl = `https://api.videasy.net/myflixerzupcloud/sources-with-title?title=${title}&mediaType=movie&year=${year}&episodeId=1&seasonId=1&tmdbId=${tmdbId}&imdbId=${imdbId}`;
|
||||
const fullUrl = `https://api.videasy.net/cdn/sources-with-title?title=${title}&mediaType=movie&year=${year}&episodeId=1&seasonId=1&tmdbId=${tmdbId}&imdbId=${imdbId}`;
|
||||
|
||||
console.log('Full URL:' + fullUrl);
|
||||
|
||||
|
|
@ -209,9 +209,9 @@ async function extractStreamUrl(ID) {
|
|||
|
||||
const postData = JSON.stringify({
|
||||
text: encrypted,
|
||||
id: tmdbID
|
||||
id: tmdbID.split('-')[0]
|
||||
});
|
||||
|
||||
console.log('Post Data:' + postData);
|
||||
const decryptedResponse = await fetchv2("https://enc-dec.app/api/dec-videasy", headers, "POST", postData);
|
||||
const decryptedData = await decryptedResponse.json();
|
||||
console.log('Decrypted Data:' + JSON.stringify(decryptedData));
|
||||
|
|
@ -253,7 +253,7 @@ async function extractStreamUrl(ID) {
|
|||
const imdbId = cinebyData.external_ids?.imdb_id || '';
|
||||
const tmdbId = cinebyData.id;
|
||||
|
||||
const fullUrl = `https://api.videasy.net/myflixerzupcloud/sources-with-title?title=${title}&mediaType=tv&year=${year}&episodeId=${episodeNumber}&seasonId=${seasonNumber}&tmdbId=${tmdbId}&imdbId=${imdbId}`;
|
||||
const fullUrl = `https://api.videasy.net/cdn/sources-with-title?title=${title}&mediaType=tv&year=${year}&episodeId=${episodeNumber}&seasonId=${seasonNumber}&tmdbId=${tmdbId}&imdbId=${imdbId}`;
|
||||
|
||||
console.log('Full URL:' + fullUrl);
|
||||
|
||||
|
|
@ -268,7 +268,7 @@ async function extractStreamUrl(ID) {
|
|||
|
||||
const postData = JSON.stringify({
|
||||
text: encrypted,
|
||||
id: tmdbID
|
||||
id: tmdbID.split('-')[0]
|
||||
});
|
||||
|
||||
const decryptedResponse = await fetchv2("https://enc-dec.app/api/dec-videasy", headers, "POST", postData);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue