mirror of
https://github.com/vega-org/vega-providers.git
synced 2026-04-17 15:41:45 +00:00
fix: remove unnecessary URL encoding for file links in getEpisodes and getMeta
This commit is contained in:
@@ -34,7 +34,7 @@ export const getEpisodes = async function ({
|
||||
fileName.includes(".avi") ||
|
||||
fileName.includes(".mov")
|
||||
) {
|
||||
const fullLink = encodeURIComponent(fileLink);
|
||||
const fullLink = fileLink;
|
||||
|
||||
// Try to extract episode information from filename
|
||||
let episodeTitle = fileName;
|
||||
|
||||
@@ -35,7 +35,7 @@ export const getMeta = async function ({
|
||||
itemTitle !== "../" &&
|
||||
itemTitle !== "Parent Directory"
|
||||
) {
|
||||
const fullLink = encodeURIComponent(itemLink);
|
||||
const fullLink = itemLink;
|
||||
|
||||
// If it's a directory (ends with /)
|
||||
if (itemTitle.endsWith("/")) {
|
||||
|
||||
Reference in New Issue
Block a user