mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 14:15:38 +00:00
Fixed an issue with Windows-style carriage return characters being included in TheGamesDB scrape results.
This commit is contained in:
parent
1b5631043f
commit
b55ee65859
|
@ -305,7 +305,7 @@ void processGame(const Value& game, std::vector<ScraperSearchResult>& results)
|
|||
LOG(LogDebug) << "GamesDBJSONScraper::processGame(): Name: " << result.mdl.get("name");
|
||||
|
||||
if (game.HasMember("overview") && game["overview"].IsString())
|
||||
result.mdl.set("desc", game["overview"].GetString());
|
||||
result.mdl.set("desc", Utils::String::replace(game["overview"].GetString(), "\r", ""));
|
||||
|
||||
if (game.HasMember("release_date") && game["release_date"].IsString()) {
|
||||
result.mdl.set("releasedate", Utils::Time::DateTime(Utils::Time::stringToTime(
|
||||
|
|
Loading…
Reference in a new issue