mirror of
https://github.com/FliegendeWurst/googleplay-api.git
synced 2024-11-25 06:14:58 +00:00
commit
1848a618f6
@ -553,12 +553,20 @@ class GooglePlayAPI(object):
|
||||
result = {}
|
||||
result['docId'] = packageName
|
||||
result['additionalData'] = []
|
||||
result['splits'] = []
|
||||
downloadUrl = response.payload.deliveryResponse.appDeliveryData.downloadUrl
|
||||
cookie = response.payload.deliveryResponse.appDeliveryData.downloadAuthCookie[0]
|
||||
cookies = {
|
||||
str(cookie.name): str(cookie.value)
|
||||
}
|
||||
result['file'] = self._deliver_data(downloadUrl, cookies)
|
||||
|
||||
for split in response.payload.deliveryResponse.appDeliveryData.split:
|
||||
a = {}
|
||||
a['name'] = split.name
|
||||
a['file'] = self._deliver_data(split.downloadUrl, None)
|
||||
result['splits'].append(a)
|
||||
|
||||
if not expansion_files:
|
||||
return result
|
||||
for obb in response.payload.deliveryResponse.appDeliveryData.additionalFile:
|
||||
|
Loading…
Reference in New Issue
Block a user