fix: encode file links in getEpisodes and getMeta for proper URL handling

This commit is contained in:
himanshu8443
2025-08-15 16:13:25 +05:30
parent f0c98f9d0a
commit 7689fbce6e
4 changed files with 4 additions and 4 deletions

View File

@@ -34,7 +34,7 @@ export const getEpisodes = async function ({
fileName.includes(".avi") ||
fileName.includes(".mov")
) {
const fullLink = url + fileLink;
const fullLink = encodeURIComponent(fileLink);
// Try to extract episode information from filename
let episodeTitle = fileName;