mirror of
https://github.com/Sude-/lgogdownloader.git
synced 2025-02-02 05:52:31 +01:00
Sort by title when using "--game free"
This commit is contained in:
parent
35e64bbe1e
commit
1cd79a2292
@ -1303,7 +1303,7 @@ std::vector< std::pair<std::string,std::string> > Downloader::getFreeGames()
|
||||
Json::Value root;
|
||||
Json::Reader *jsonparser = new Json::Reader;
|
||||
std::vector< std::pair<std::string,std::string> > games;
|
||||
std::string json = this->getResponse("https://secure.gog.com/games/ajax?a=search&f={\"price\":[\"free\"]}&p=1&t=all");
|
||||
std::string json = this->getResponse("https://secure.gog.com/games/ajax?a=search&f={\"price\":[\"free\"],\"sort\":\"title\"}&p=1&t=all");
|
||||
|
||||
// Parse JSON
|
||||
if (!jsonparser->parse(json, root))
|
||||
|
Loading…
x
Reference in New Issue
Block a user