Open tantinhte opened 4 years ago
In my case, getting a new gsf_id
and auth_sub_token
was enough. That is, perform a new login with the email and password.
Try logging into the account and click the button at https://accounts.google.com/b/0/DisplayUnlockCaptcha also you might want to enable "Less secure apps" (https://myaccount.google.com/lesssecureapps)
@bluetrickpt how to get new gsf_id and auth_sub_token?
You should check the README.md. The first login you perform you use the email and password like so:
api = GooglePlayAPI(locale="en_US", timezone="UTC", device_codename="hero2lte")
api.login(email=mail, password=passwd)
After performing this login, the api
object will have api.gsfId
and api.authSubToken
that you should store somewhere. So your next login should be something like:
api = GooglePlayAPI(locale="en_US", timezone="UTC", device_codename="hero2lte")
api.login(gsfId=gsfId, authSubToken=authSubToken)
Maybe I'll create a pull request soon to simplify this login.
I get this when trying to download specific apps only, for example:
download = api.download('com.opt.toapp', expansion_files=True) # Fails with DF-DFERH-01
download = api.download('com.smarty.voomvoom', expansion_files=True) # Succeeds
Using the same gsfid and token, one app downloads fine, the other gives the aformentioned error @ /gpapi/googleplay.py", line 638, in download.
Both the unlock captcha and less secure apps set. Tested re-login with email and pass as well.
@4knahs
I get this when trying to download specific apps only, for example:
download = api.download('com.opt.toapp', expansion_files=True) # Fails with DF-DFERH-01
I cannot find an app in the Google Play Store with this package - com.opt.toapp, Can you plz send a Google Play Store link here?
@liorazi there are many other ones that causes the same issue that @4knahs described. an example: https://play.google.com/store/apps/details?id=com.axis.drawingdesk.v3
I found the answer for android users by clearing the cache memory of google play apps. But I don't know how to handle this situation