mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-29 09:35:39 +00:00
Fixed an issue where ScreenScraper API calls were slightly malformed for systems where multiple platforms were defined
This commit is contained in:
parent
fc24b21311
commit
1da9a8cf00
|
@ -248,9 +248,9 @@ void screenscraper_generate_scraper_requests(const ScraperSearchParams& params,
|
||||||
p_ids.erase(last, p_ids.end());
|
p_ids.erase(last, p_ids.end());
|
||||||
|
|
||||||
for (auto platform = p_ids.cbegin(); platform != p_ids.cend(); ++platform) {
|
for (auto platform = p_ids.cbegin(); platform != p_ids.cend(); ++platform) {
|
||||||
path.append("&systemeid=").append(HttpReq::urlEncode(std::to_string(*platform)));
|
requests.push(std::unique_ptr<ScraperRequest>(new ScreenScraperRequest(
|
||||||
requests.push(
|
requests, results,
|
||||||
std::unique_ptr<ScraperRequest>(new ScreenScraperRequest(requests, results, path)));
|
path + "&systemeid=" + HttpReq::urlEncode(std::to_string(*platform)))));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue