diff --git a/src/downloader.cpp b/src/downloader.cpp index 358cd9f..604d536 100644 --- a/src/downloader.cpp +++ b/src/downloader.cpp @@ -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 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;