mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-01-18 07:05:39 +00:00
Fixed 'Refine Search' for the TheGamesDB scraper which I apparently broke in the last commit.
This commit is contained in:
parent
0387d515fb
commit
ee4a55e9d6
|
@ -129,18 +129,16 @@ void thegamesdb_generate_json_scraper_requests(
|
||||||
if (params.system->hasPlatformId(PlatformIds::ARCADE) ||
|
if (params.system->hasPlatformId(PlatformIds::ARCADE) ||
|
||||||
params.system->hasPlatformId(PlatformIds::NEOGEO)) {
|
params.system->hasPlatformId(PlatformIds::NEOGEO)) {
|
||||||
cleanName = params.game->getName();
|
cleanName = params.game->getName();
|
||||||
|
|
||||||
cleanName = MameNames::getInstance()->getCleanName(params.game->getCleanName());
|
cleanName = MameNames::getInstance()->getCleanName(params.game->getCleanName());
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
cleanName = params.game->getCleanName();
|
cleanName = params.game->getCleanName();
|
||||||
}
|
}
|
||||||
|
|
||||||
path += "/Games/ByGameName?" + apiKey +
|
|
||||||
"&fields=players,publishers,genres,overview,last_updated,rating,"
|
|
||||||
"platform,coop,youtube,os,processor,ram,hdd,video,sound,alternates&name=" +
|
|
||||||
HttpReq::urlEncode(cleanName);
|
|
||||||
}
|
}
|
||||||
|
path += "/Games/ByGameName?" + apiKey +
|
||||||
|
"&fields=players,publishers,genres,overview,last_updated,rating,"
|
||||||
|
"platform,coop,youtube,os,processor,ram,hdd,video,sound,alternates&name=" +
|
||||||
|
HttpReq::urlEncode(cleanName);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (usingGameID) {
|
if (usingGameID) {
|
||||||
|
|
Loading…
Reference in a new issue