From 179c8c148fb8be8d48ea179788f1fd7322a8771b Mon Sep 17 00:00:00 2001 From: Inside4ndroid Date: Tue, 1 Apr 2025 09:32:19 +0100 Subject: [PATCH] updated the source urls to use viper proxy endpoint. --- index.js | 5 ----- src/extractors/embedsu.js | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/index.js b/index.js index 6e14cbf..f0da50c 100644 --- a/index.js +++ b/index.js @@ -35,11 +35,6 @@ app.get('/embedsu/:tmdbId', async (req, res) => { } }); -app.get('/vidsr-net/:tmdbid', async (req, res) => { - - -}) - app.listen(port, () => { console.log(`Example app listening on port http://localhost:${port}`); }); \ No newline at end of file diff --git a/src/extractors/embedsu.js b/src/extractors/embedsu.js index eeadab9..19ea880 100644 --- a/src/extractors/embedsu.js +++ b/src/extractors/embedsu.js @@ -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' }; });