Code Monkey home page Code Monkey logo

gplaydl's Introduction

Command Line APK Downloader

Download APK, split APKs, and expansion (OBB) files from Google Play Store to your PC or server directly with minimum effort.

Video Guide

https://www.youtube.com/watch?v=dy6rPpaxj3Q&feature=youtu.be

Brief Instructions

# Install the package
pip3 install --upgrade --force-reinstall gplaydl==1.3.5

# Configure auth
gplaydl configure

# Let's try downloading an app
gplaydl download --packageId com.twitter.android

Detailed Instructions

So the brief instructions didn't get you going? Here is a detailed guide for you. Let's begin with installing the package using PIP3.

pip3 install --upgrade --force-reinstall gplaydl==1.3.5

If gplaydl is already installed on your system, it will be upgraded to the latest version as we are forcing PIP to install from the latest release.

or

git clone https://github.com/rehmatworks/gplaydl.git && \
cd gplaydl && \
python3 setup.py install

Attention: Only Python 3.2.x and up is supported. Please use PIP3, not PIP (if PIP is aliased to Python 2.x PIP)

Configuration

Soon after the package is installed, type the following and hit enter:

gplaydl configure

You will be asked to provide the login info. Provided the following details:

  • Email: Your Google account's email address
  • Password: Your Google account's password (An app password is recommended)

Downloading Apps

Download Twitter using the default device Nexus 6 (api27) [shamu] and store the APK in the current directory:

gplaydl download --packageId com.twitter.android

Download Twitter using the default device Nexus 6 (api27) [shamu] and store the APK in a custom path (i.e. ./apk-downloads/):

gplaydl download --packageId com.twitter.android --path ./apk-downloads/

Download Twitter using another device, i.e. angler (Available Devices)

gplaydl download --packageId com.twitter.android --device angler

Expansion Files:

Since version 1.2.0, expansion files are downloaded as well if available. If you don't want to download those files, set the flag to n:

gplaydl download --packageId com.rayark.Cytus.full --ex n

Split APKs:

Since version 1.3.0, split APK files are downloaded as well if available. If you don't want to download split APKs, set the flag to n:

gplaydl download --packageId com.twitter.android --splits n

Change Google Account:

Your Google login info is stored in a cache file and whenever the tokens expire, login info from the cached file is used to refresh the tokens. If your Google account password is changed, you will be prompted to provided new details whenever you will attempt to download an app.

But if you want to change your Google account for gplaydl, simply reconfigure it and your new account will be set in the cache:

gplaydl configure

Features

  • Full support for split APKs (since v.1.3.0)
  • Full support for OBB aka. expansion files (since v.1.3.0)
  • Supports download of (your purchased) paid apps (since v.1.3.0)
  • Shows download progress (since v.1.2.0)
  • No need to provide device ID (Generated automatically)
  • No need to provide auth token (Generated automatically)
  • Re-uses auth token and refreshes it if expired

Web-based APK Downloader

Aren't comfortable using CLI tools? Use my web-based APK downloader here.

Credits:

gplaydl makes use of the following packages:

gplaydl's People

Contributors

rehmatworks avatar dependabot[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.