mirror of
https://github.com/Sude-/lgogdownloader.git
synced 2024-11-20 03:39:17 +01:00
Merge branch 'improve-captcha-detection' of https://github.com/jetomit/lgogdownloader
This commit is contained in:
commit
18166c02e2
@ -270,7 +270,7 @@ int Website::Login(const std::string& email, const std::string& password)
|
||||
std::cerr << "DEBUG INFO (Website::Login)" << std::endl;
|
||||
std::cerr << login_form_html << std::endl;
|
||||
#endif
|
||||
if (login_form_html.find("google.com/recaptcha") != std::string::npos)
|
||||
if (login_form_html.find("class=\"g-recaptcha form__recaptcha\"") != std::string::npos)
|
||||
{
|
||||
bRecaptcha = true;
|
||||
#ifndef USE_QT_GUI_LOGIN
|
||||
|
Loading…
Reference in New Issue
Block a user