NoMore201 / googleplay-api

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

Download split apps #104

Open Miriam-cpu opened 4 years ago

Miriam-cpu commented 4 years ago

Hi, we are using your library in this project: https://git.app-check.org/app-check/google-play-store but we cant download split-apps. We only getting the core-app. Are we doing something wrong or does the library not support that?

komeilkamal commented 4 years ago

Hi, You must use a device with android version >= 21 and set vending version (GooglePlay version) to 'Version: 9.2.11-all [0] [PR] 188192317 (80921100)' or upper to support split-apks.

Miriam-cpu commented 4 years ago

Thanks. So will that work on a debian-system too? We are not using an android-device - we download apps to test them on an emulator.

komeilkamal commented 4 years ago

I mean Android devices into the device.properties file.

bfix commented 4 years ago

The device used ("walleye") satisfies the requirements you mention. The problem seems more like that the list "additionalData" (in the dictionary returned by the 'download(...)' call) is always empty - even if the "expansion_files" flag is set to true and there are multiple files defined in the "details/appDetails/file" list.

ShockShadow commented 4 years ago

Is there any way to get the core-apk+apk-splits archived in a .apks archive?

june5079 commented 4 years ago

Anybody knows how to extract or add new device's properties?

raulperezalejo commented 4 years ago

I am looking into this too :point_up:

kar commented 4 years ago

https://github.com/NoMore201/googleplay-api/pull/108

quyeticb commented 4 years ago

Anybody knows how to extract or add new device's properties? You can parse build.prop (from your phone) and edit to make new device properties. I've writen succeed with it for my apk downloader for firefox addon :)

VectorASD commented 4 years ago

Anybody knows how to extract or add new device's properties?

device = api.deviceBuilder.device print(device["userreadablename"]) print(device["build.version.sdk_int"]) print(device["vending.version"]) print(device["vending.versionstring"])

VectorASD commented 4 years ago

RU: Вот мой вердикт: по какой-то причине нет кода, что в response грузит split у метода delivery, хоть я вчера загрузил это через pip install gpapi, а тут оно уже давно есть, видимо установилась старая версия :/ ENG: Here's my verdict: for some reason, there is no code that loads split in response from the "delivery" method, although I downloaded it yesterday via pip install gpapi, and here it has long been there, apparently the old version was installed :/