NoMore201 / googleplay-api

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

Fix download of purchased apps #116

Closed gurnec closed 4 years ago

gurnec commented 4 years ago

This updates delivery() to use the newer protobuf definition in the same way that download() was updated in 46b4271.

Prior to this update, delivery() would fail to retrieve the versionCode, and set it to None. The download URL would then include vc=None. It seems that Google was OK with this in the past, delivering the latest version of the app, but currently they return an HTTP "400 Bad Request" error along with the message "Error retrieving information from server. DF-DFERH-01". This update fixes things for me.

(This might be related to #113, though the traceback doesn't match up right....)