在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):ClaudiuGeorgiu/PlaystoreDownloader开源软件地址(OpenSource Url):https://github.com/ClaudiuGeorgiu/PlaystoreDownloader开源编程语言(OpenSource Language):Python 94.4%开源软件介绍(OpenSource Introduction):The latest version on master branch introduces some new features and some breaking changes in the CLI parameters, please use old stable release v1.3.0 until we release v2.0 properly. PlaystoreDownloader
PlaystoreDownloader is a tool for downloading Android applications directly from the Google Play Store. After an initial (one-time) configuration, applications can be downloaded by specifying their package name. This project is intended for learning purposes only and is not affiliated with Google in any way. ❱ Demo
❱ InstallationThere are two ways of getting a working copy of PlaystoreDownloader on your own
computer: either by using Docker or by
using directly the source code in a $ git clone https://github.com/ClaudiuGeorgiu/PlaystoreDownloader.git Docker imagePrerequisitesThis is the suggested way of installing PlaystoreDownloader, since the only requirement is to have a recent version of Docker installed: $ docker --version
Docker version 20.10.7, build f0df350 Official Docker Hub imageThe official PlaystoreDownloader Docker image is available on Docker Hub (automatically built from this repository): $ # Download the Docker image.
$ docker pull claudiugeorgiu/playstore-downloader
$ # Give it a shorter name.
$ docker tag claudiugeorgiu/playstore-downloader downloader InstallIf you downloaded the official image from Docker Hub, you are ready to use the tool so
go ahead and check the usage instructions, otherwise execute the
following command in the previously created $ # Make sure to run the command in PlaystoreDownloader/ directory.
$ # It will take some time to download and install all the dependencies.
$ docker build -t downloader . When the Docker image is ready, make a quick test to check that everything was installed correctly: $ docker run --rm -it downloader --help
usage: python3 -m playstoredownloader.cli [-h] [-b] [-s] [-c FILE] [-o DIR] [-t TAG] package [package ...]
... PlaystoreDownloader is now ready to be used, see the usage instructions for more information. From sourcePrerequisitesApart from valid Google Play Store credentials, the only requirement of this project is
a working InstallRun the following commands in the main directory of the project ( $ # Make sure to run the commands in PlaystoreDownloader/ directory.
$ # This project uses pipenv (https://github.com/pypa/pipenv) for dependency management.
$ # It can be installed with the following command:
$ # python3 -m pip install pipenv
$ # Install PlaystoreDownloader's requirements (a virtual environment will be created).
$ pipenv install --deploy After everything is installed, make a quick test to check that everything works correctly: $ pipenv run python3 -m playstoredownloader.cli --help
usage: python3 -m playstoredownloader.cli [-h] [-b] [-s] [-c FILE] [-o DIR] [-t TAG] package [package ...]
... PlaystoreDownloader is now ready to be used, see the usage instructions for more information. ❱ ConfigurationBefore interacting with the Google Play Store you have to provide valid credentials and an ANDROID ID associated to your account. Please modify the credentials.json file and insert the required information before trying to use this tool (and think twice before committing this file after the change, or you might leak your credentials):
Note that you will be able to download only the applications compatible with the device corresponding to the aforementioned ANDROID ID and further limitations may influence the total number of applications available for download. ❱ UsageAfter configuring the Google Play Store credentials as described in the
configuration, you should have a valid With DockerThe file with the credentials is not included in the Docker image, so it has to be
mounted into the container. A download directory has to be mounted too, otherwise the
downloaded application won't be accessible to the host machine. If the current
directory ( $ docker run \
-u $(id -u):$(id -g) \
-v "${PWD}/credentials.json":"/app/credentials.json" \
-v "${PWD}/output/":"/app/Downloads/" \
--rm -it downloader "com.application.example" If the download is successful, the resulting A simple web interface is also available: $ docker run \
-u $(id -u):$(id -g) \
-v "${PWD}/credentials.json":"/app/credentials.json" \
-v "${PWD}/output/":"/app/Downloads/" \
-p 5000:5000 \
--entrypoint=python \
--rm -it downloader flask_app.py
$ # Navigate to http://localhost:5000/ to use the web interface. With sourceIn the main directory of the project ( $ pipenv run python3 -m playstoredownloader.cli "com.application.example" If the download is successful, by default the resulting A simple web interface is also available: $ pipenv run python flask_app.py
$ # Navigate to http://localhost:5000/ to use the web interface. Available parametersAll the parameters are described in the help message: $ # With Docker.
$ docker run --rm -it downloader --help
$ # With source.
$ pipenv run python3 -m playstoredownloader.cli --help
usage: python3 -m playstoredownloader.cli [-h] [-b] [-s] [-c FILE] [-o DIR] [-t TAG] package [package ...]
... The only mandatory parameter is the
Note that currently only the command line interface is configurable with the above arguments, the web interface will ask only for a package name and will use the default values for all the other parameters. ❱ ContributingQuestions, bug reports and pull requests are welcome on GitHub at https://github.com/ClaudiuGeorgiu/PlaystoreDownloader (see contributing). ❱ LicenseYou are free to use this code under the MIT License. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论