mirror of
https://github.com/FliegendeWurst/googleplay-api.git
synced 2024-11-22 12:54:58 +00:00
Merge pull request #116 from gurnec/fix-purchased-downloads
Fix download of purchased apps
This commit is contained in:
commit
664c399f81
@ -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