NoMore201 / googleplay-api

Google Play Unofficial Python API
Other
410 stars 208 forks source link

Is Google Play now requesting captchas for email logins? Any solutions? #98

Open ahmedetefy opened 4 years ago

ShaunLWM commented 4 years ago

Come here to unlock your account first. https://accounts.google.com/b/0/DisplayUnlockCaptcha

If you're using 2FA, create a temporary app password.

archon810 commented 4 years ago

This used to work, but not anymore.

https://github.com/yeriomin/token-dispenser/issues/23

rbucks commented 4 years ago

Anyone else consistently getting gpapi.googleplay.LoginError: 'server says: UNKNOWN_ERR' even after performing all the same steps? It was working until a few days ago and now I can't get past api.login(email=mail, password=passwd).

ShaunLWM commented 4 years ago

Multiple NodeJS based libraries are facing this problem. Apparently Pythons' are doing fine (afaik).

https://github.com/dweinstein/node-google-play/issues/107

aspdesigner commented 4 years ago

any idea to solve this problem?

aspdesigner commented 4 years ago

based on https://developers.google.com/identity/protocols/AuthForInstalledApps i add captcha text as value of parameter 'logincaptcha' and captcha token as value of parameter 'logintoken' but something seems wrong!

aspdesigner commented 4 years ago

@rbucks @archon810 @ShaunLWM can you solved this problem?

rbucks commented 4 years ago

This change is now working for me: https://github.com/Ksauder/googleplay-api/commit/792ec362f681b8fe5785590e6f6847729e6fb409#commitcomment-36004810

archon810 commented 4 years ago

AFAIK the sdk solution above resolves UNKNOWN_ERR but not Captchas.

hoffie commented 4 years ago

I have analyzed this issue in another project which uses the same API (Android App Aurora Store). My results so far are that Google seems to decide whether to require a Captcha by analyzing TLS protocol details. More specifically, I was able to make it work by forcing specific ciphers and disabling ALPN.

@ahmedetefy Are you seeing problems with this project? That would surprise me as python-requests seems to use PyOpenSSL with certain defaults which seem to NOT trigger the Captcha.

I am detailing my results here: https://gitlab.com/AuroraOSS/AuroraStore/issues/217#note_249390026

jr3074 commented 4 years ago

any update about the Captchas? i've tried to use AuroraDispenser but got error