matlink / gplaycli

Google Play Downloader via Command line
Other
1k stars 177 forks source link

Security check is needed DisplayUnlockCaptcha #284

Open muzzyrost opened 2 years ago

muzzyrost commented 2 years ago

Hello there!

I'm getting the following error message when I try to download an app from the Google Play Store:

Security check is needed, try to visit https://accounts.google.com/b/0/DisplayUnlockCaptcha to unlock, or setup an app-specific password

I tried the following:

archon810 commented 2 years ago

Same issue here all of a sudden.

nottoobad commented 2 years ago

Same here, any workarounds?

MrLuoXuan commented 2 years ago

Same issue here all of a sudden. which one have solution?

MrLuoXuan commented 2 years ago

Hello there!

I'm getting the following error message when I try to download an app from the Google Play Store:

Security check is needed, try to visit https://accounts.google.com/b/0/DisplayUnlockCaptcha to unlock, or setup an app-specific password

I tried the following:

  • account password without MFA
  • account password without MFA and "unsecure" connection enabled (or however that is called)
  • app-specific password (with MFA)

how can i contract you,please give me a email,i want to solve this problem because i used it in production environment!

matlink commented 2 years ago

If you use an app-specific password with MFA enabled, you should not hit a Captcha unlock requirement. It is indeed linked to NoMore201/googleplay-api/issues/152

Slider-Whistle commented 2 years ago

https://support.google.com/mail/answer/185833

On the 'Signing in to Google' panel, choose App passwords. If you don’t see this option: 2-Step Verification is not set up for your account 2-Step Verification is set up for security keys only Your account is through work, school or other organisation You’ve turned on Advanced Protection for your account ... Protect your account with 2-Step Verification Each time you sign in to your Google Account, you'll need your password and a verification code. Learn more (< https://www.google.com/intl/en/landing/2step/)

Absolutely not doing this, is there no other way? I'm pretty unlucky to install this program right after an issue like this comes up. It's nothing I can't wait a few weeks for but I think most people would agree that it makes the program unuseable

MrHm commented 2 years ago

I have found that adding this parameter to gpapi/config.py in function getLoginParams:

"droidguard_results": "some_random_string"

makes the login work.

andryan commented 2 years ago

I accidentally stumbled across another workaround when I was looking for another tool to download APK files from Google Play.

Steps:

  1. You need to enable 2FA on the Google account you wish to use to download using
  2. Once 2FA is enabled, app passwords show up on accounts.google.com, create an app password
  3. Clone http://github.com/89z/googleplay, build it using Go 1.17 and run the command: googleplay -e email -p 'app password here'. Once you get the following message, go back to gplaycli and use the same credentials (email and app password, not token).
  4. Suddenly the "Security check is needed, try to visit https://accounts.google.com/b/0/DisplayUnlockCaptcha to unlock, or setup an app-specific password" error is gone and gplaycli is back to normal.
andryan commented 2 years ago

Yes, I tried that but unfortunately it didn't work.

On Mon, 3 Jan 2022 at 13.03 Zombo @.***> wrote:

@andryan https://github.com/andryan did you ever try enabling Less Secure App Access as previously discussed? If that works, I think it is a better solution than App Password, as it doesnt require 2FA.

— Reply to this email directly, view it on GitHub https://github.com/matlink/gplaycli/issues/284#issuecomment-1003885791, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAXEC35X7DSTGE4OQIWRTBTUUE33FANCNFSM5E5KSN3Q . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you were mentioned.Message ID: @.***>

muzzyrost commented 2 years ago

@andryan This way broken now, any updates?

andryan commented 2 years ago

@andryan This way broken now, any updates?

What error message are you getting now? Was it working fine before? Did you try MrHm's solution?

poseidonsg commented 2 years ago

MrHm's solution doesn't work anymore.

Arshit007 commented 2 years ago

Yes,do anyone has any solution for this issue?

ibrahimch commented 2 years ago

Bump. Facing same issue ...

ibrahimch commented 2 years ago

Any update on this ?

Ralireza commented 2 years ago

same issue here!