• Stars
    star
    348
  • Rank 121,840 (Top 3 %)
  • Language
    Python
  • License
    MIT License
  • Created over 6 years ago
  • Updated about 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Command Line Google Play APK downloader. Download APK files to your PC directly from Google Play Store.

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:

More Repositories

1

serverpilot-letsencrypt

Automate the installation of Let's Encrypt SSL on the free plan of ServerPilot
Python
123
star
2

stisla-laravel

A Laravel implementation (with user CRUD) of the awesome Stisla Bootstrap admin panel.
PHP
108
star
3

edx-downloader

Download all videos of a course from https://edx.org to your computer easily.
Python
83
star
4

runcloud-letsencrypt

Install Let's Encrypt SSL on the free (or paid) plans of RunCloud.io
Python
70
star
5

fastcp

FastCP is a modern, fast, and secure control panel to run multiple PHP websites on an Ubuntu server.
JavaScript
51
star
6

lamp-pack

A bash script to automate the installation of LAMP, phpMyAdmin and Let's Encrypt
Shell
8
star
7

webdav-recursive-upload

A tiny PHP script to upload data recursively to a webdav server
PHP
6
star
8

php-pdo-database-wrapper

An object-oriented way to interact with MySQL databases using PDO in PHP
PHP
6
star
9

spsuite

Command line tools to manage a server provisioned using ServerPilot.io.
Python
5
star
10

email-validator

Python
4
star
11

scraping-lectures

Python
2
star
12

domain

Monitor domains for expiry, check domain age and more.
PHP
2
star
13

serverpilot-python

A Python package to interact with ServerPilot API.
Python
2
star
14

htmlparsers

A collection of parsers that use lxml and bs4 to parse HTML from known sources like Google Search, Bing Search, LinkedIn and others and return a usable JSON data. This project is being worked on and is not complete yet.
Python
1
star
15

bbup

A CLI uploader for BackBlaze B2.
Python
1
star
16

ploi-python

A Python package (Unofficial one) to interact with Ploi API.
Python
1
star
17

adminlte-laravel-vue

AdminLTE ported to Laravel and VueJS. A basic SPA that you can use to build your next awesome admin panel.
PHP
1
star
18

emodian-tours

JavaScript
1
star