diff --git a/src/downloader.cpp b/src/downloader.cpp index fbefb80..326c561 100644 --- a/src/downloader.cpp +++ b/src/downloader.cpp @@ -22,6 +22,7 @@ #include #include #include +#include namespace bptime = boost::posix_time; @@ -1503,6 +1504,7 @@ std::vector Downloader::getExtras(const std::string& gamename, const s // Get path from download link std::string url = gogAPI->getExtraLink(gamename, id); + url = htmlcxx::Uri::decode(url); if (url.find("/extras/") != std::string::npos) { path.assign(url.begin()+url.find("/extras/"), url.begin()+url.find_first_of("?"));