-
Notifications
You must be signed in to change notification settings - Fork 208
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix auth error #114
base: master
Are you sure you want to change the base?
Fix auth error #114
Conversation
I just submitted PR #116 to hopefully fix downloads of purchased apps (my PR works for me anyways). If I apply both #116 and your #114, purchased app downloads go back to broken for me (and #114 alone does not fix them for me). I'm just adding this comment as an FYI... sorry that it's not much help. (The reason I even found your PR is that the error message I was getting is identical to the one in #113, "Error while retrieving information from server. DF-DFERH-01", although the traceback in #113 seems to be related to gplaycli's |
It looks like using credentials requires to use 'GoogleLogin auth=%s' while using tokens requires to have 'Bearer %s' in the Authentication header https://github.com/whyorean/playstore-api-v2/blob/master/src/main/java/com/dragons/aurora/playstoreapiv2/GooglePlayAPI.java#L331 |
@gurnec I've pushed a commit which should fix errors when using credentials. Could you test it please? |
Sorry for the delay... but in short, your update did restore the ability to download when using credentials for me. Just to be clear, I took your fix-auth branch, rebased it onto the current googleplay-api master (664c399), and ran
I should also mention that I don't understand what this branch was intended to fix, it's beyond me 😛, so I've no comment on whether or not it works... only that it's not breaking what little I tested. |
hello,could you please tell me How to save gsfId and authSubToken |
api = GooglePlayAPI(locale="en_US", timezone="UTC") print(gsfId) thats how you can get your gsfId and authSubToken.. |
The issue is still persisting even with this pull request, when listing apps under a category: Traceback (most recent call last): |
@fahadakbar24 have u found any workarounds to fix list()? thx |
Enabling 2 Factor Authentication and using app specific password is working
|
Authentication has changed, see https://github.com/whyorean/playstore-api-v2/blob/master/src/main/java/com/dragons/aurora/playstoreapiv2/GooglePlayAPI.java#L832