NoMore201 / googleplay-api

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

bulkDetails is down? #51

Open portablesoft opened 6 years ago

portablesoft commented 6 years ago

I got the following error when using the bulkDetails methods:

/gpapi/googleplay.py:297: RuntimeWarning: Unexpected end-group tag: Not all data was converted message = googleplay_pb2.ResponseWrapper.FromString(response.content)

jr3074 commented 6 years ago

maybe api change from google?

archon810 commented 6 years ago

This is likely a case of the token expiring, the API throttling you, app not purchased, or other errors which aren't handled by the code correctly.

There could be more lines after, like:

[ERROR] Error while downloading com.teamviewer.teamviewer.market.mobile : 'Error retrieving information from server. [DF-DLA-21]' or [ERROR] Error while downloading com.teamviewer.teamviewer.market.mobile : 'App not purchased'

If there aren't, then I think it's an expired token.

Some more references: https://github.com/NoMore201/googleplay-api/issues/43 https://github.com/NoMore201/googleplay-api/issues/23

BenKni commented 6 years ago

I have also issues with bulkDetails since last Friday (20.04.18). There is no Exception/Error or Warning but the response of my request is empty. No matter which app i query. The details method works fine when i searching the same app. That's why i don't think that the token is the problem.

I'm normally using the bullhead device from the device.properties file, but also tried other devices. The response look like that:

message = googleplay_pb2.ResponseWrapper.FromString(response.content) message payload { bulkDetailsResponse { } }

EDIT: I found the fix for myself regarding the yeriomin/play-store-api project: https://github.com/yeriomin/play-store-api/issues/18

The problem seems to be the "X-DFE-Encoded-Targets" value

dizzy666 commented 6 years ago

@BenKni i tried the fix and change "X-DFE-Encoded-Targets" value. But the search operation at playmaker is still not working. Log output: response.content is: b'<html><body><h1>429 Too Many Requests</h1><p>Please reduce your request rate.</p></body></html>\n'

/usr/local/lib/python3.6/site-packages/gpapi/googleplay.py:297: RuntimeWarning: Unexpected end-group tag: Not all data was converted message = googleplay_pb2.ResponseWrapper.FromString(response.content)