mirror of
https://github.com/FliegendeWurst/googleplay-api.git
synced 2024-11-22 12:54:58 +00:00
Fix download of purchased apps
This updates delivery() to use the newer protobuf definition
in the same way that download() was updated in 46b4271
.
This commit is contained in:
parent
7d3969ea1d
commit
04ae986e00
@ -532,7 +532,8 @@ class GooglePlayAPI(object):
|
|||||||
|
|
||||||
if versionCode is None:
|
if versionCode is None:
|
||||||
# pick up latest version
|
# pick up latest version
|
||||||
versionCode = self.details(packageName).get('versionCode')
|
appDetails = self.details(packageName).get('details').get('appDetails')
|
||||||
|
versionCode = appDetails.get('versionCode')
|
||||||
|
|
||||||
params = {'ot': str(offerType),
|
params = {'ot': str(offerType),
|
||||||
'doc': packageName,
|
'doc': packageName,
|
||||||
|
Loading…
Reference in New Issue
Block a user