googleplay-api icon indicating copy to clipboard operation
googleplay-api copied to clipboard

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

Open ahmedetefy opened this issue 6 years ago • 11 comments

ahmedetefy avatar Nov 04 '19 12:11 ahmedetefy

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

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

ShaunLWM avatar Nov 09 '19 05:11 ShaunLWM

This used to work, but not anymore.

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

archon810 avatar Nov 09 '19 06:11 archon810

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).

rbucks avatar Nov 11 '19 16:11 rbucks

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

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

ShaunLWM avatar Nov 11 '19 17:11 ShaunLWM

any idea to solve this problem?

aspdesigner avatar Nov 12 '19 19:11 aspdesigner

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 avatar Nov 12 '19 19:11 aspdesigner

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

aspdesigner avatar Nov 14 '19 11:11 aspdesigner

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

rbucks avatar Nov 18 '19 20:11 rbucks

AFAIK the sdk solution above resolves UNKNOWN_ERR but not Captchas.

archon810 avatar Nov 18 '19 20:11 archon810

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

hoffie avatar Nov 23 '19 11:11 hoffie

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

jr3074 avatar Jan 27 '20 08:01 jr3074