mirror of
https://github.com/Sude-/lgogdownloader.git
synced 2024-11-20 11:49:17 +01:00
Fix login
GOG made some changes to their website which caused the regex in Downloader::HTTP_Login to match wrong auth url.
This commit is contained in:
parent
d0986542ef
commit
ec79a18cf5
@ -1754,7 +1754,7 @@ int Downloader::HTTP_Login(const std::string& email, const std::string& password
|
||||
if (script_it->text().find("GalaxyAccounts") != std::string::npos)
|
||||
{
|
||||
boost::match_results<std::string::const_iterator> what;
|
||||
boost::regex expression(".*'(http.*)'.*");
|
||||
boost::regex expression(".*'(https://auth.gog.com/.*)'.*");
|
||||
boost::regex_match(script_it->text(), what, expression);
|
||||
auth_url = what[1];
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user