fix: urldecode the image url
This commit is contained in:
parent
4cead58a0b
commit
3bea1c2d26
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ defmodule PodcastFeed.Provider.Archive.Parser do
|
||||||
length: (file |> Map.get("length") |> Float.parse() |> elem(0)) |> trunc(),
|
length: (file |> Map.get("length") |> Float.parse() |> elem(0)) |> trunc(),
|
||||||
size: file |> Map.get("size"),
|
size: file |> Map.get("size"),
|
||||||
summary: "",
|
summary: "",
|
||||||
image: Format.compile(@download_url, identifier: identifier, filename: fetch_image_of_audio(Map.get(file, "name"), files)),
|
image: Format.compile(@download_url, identifier: identifier, filename: fetch_image_of_audio(Map.get(file, "name"), files)) |> URI.encode(),
|
||||||
keywords: file |> Map.take(["album", "artist", "genre"]) |> Map.values(),
|
keywords: file |> Map.take(["album", "artist", "genre"]) |> Map.values(),
|
||||||
explicit: "no",
|
explicit: "no",
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue