mirror of
https://github.com/Inside4ndroid/TMDB-Embed-API.git
synced 2026-10-22 17:45:11 +00:00
updated the source urls to use viper proxy endpoint.
This commit is contained in:
@@ -53,7 +53,7 @@ export async function getEmbedSu(tmdb_id, s, e) {
|
||||
const directQuality = patternSize.map(patternItem => {
|
||||
const sizeQuality = getSizeQuality(patternItem);
|
||||
let dURL = `${DOMAIN}${patternItem}`;
|
||||
dURL = dURL.replace("embed.su/api/proxy/viper/", "").replace(".png", ".m3u8");
|
||||
dURL = dURL.replace(".png", ".m3u8");
|
||||
return { file: dURL, type: 'hls', quality: `${sizeQuality}p`, lang: 'en' };
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user