Skip to content

kiber-io/apkd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

APK Downloader

License

# find the versions...
$ apkd -p com.instagram.android -lv
+-----------------------+----------+----------------+--------------+-------------+----------+
| Package               | Source   | Version name   | Version code | Update date | Size     |
+-----------------------+----------+----------------+--------------+-------------+----------+
| com.instagram.android | ApkCombo | 343.0.0.33.101 | 374410331    | N/A         | 69.00 MB |
| com.instagram.android | ApkCombo | 343.0.0.33.101 | 374410330    | N/A         | 68.00 MB |
| com.instagram.android | ApkCombo | 343.0.0.33.101 | 374311345    | N/A         | 87.00 MB |
| com.instagram.android | ApkCombo | 343.0.0.33.101 | 374311344    | N/A         | 89.00 MB |
| com.instagram.android | ApkCombo | 343.0.0.33.101 | 374311343    | N/A         | 69.00 MB |
| com.instagram.android | ApkCombo | 343.0.0.33.101 | 374311342    | N/A         | 68.00 MB |
| com.instagram.android | ApkCombo | 343.0.0.33.101 | 374311341    | N/A         | 68.00 MB |
+-----------------------+----------+----------------+--------------+-------------+----------+

# ...and download them (the latest version is downloaded by default)
$ apkd -p com.instagram.android -d -s apkcombo
com.instagram.android ver. 374410331 (ApkCombo):  19%|████            | 13.5M/72.0M [00:01<00:03, 16.2MB/s]

# ...or use batch downloading
$ apkd -l packages.txt -d
com.facebook.katana ver. 454214928 (ApkCombo):  87%|███████████  | 72.1M/82.8M [00:07<00:01, 6.24MB/s]
com.instagram.android ver. 374410331 (ApkCombo):  71%|████████     | 51.0M/72.0M [00:07<00:03, 6.42MB/s]
com.snapchat.android ver. 150472 (ApkCombo):  10%|██          | 15.7M/155M [00:04<00:25, 5.41MB/s]

Description

APK Downloader is a tool that allows you to easily download APK files from popular app stores. With this tool, you can quickly obtain APK files for various Android applications directly to your local machine.

Supported app stores

Multiple versions - support for downloading different versions of the application (key -lv)

Update date - support for getting the app update date

Store Multiple versions Update date
F-Droid ✔️ ✔️
ApkPure ✔️ ✔️
ApkCombo ✔️
AppGallery
RuStore ✔️
RuMarket ✔️
NashStore ✔️

Features

  • Support for multiple sources
  • Support for batch downloading
  • Automatic search for all sources
  • Simple and intuitive command-line interface
  • Modularity and extensibility. PR is welcome
  • Active support and development
  • ???

Installation

pip install git+https://github.com/kiber-io/apkd

... and use command "apkd" anywhere!

Docker

  1. Install Docker (https://docs.docker.com/get-docker/).
  2. Build Docker image
git clone https://github.com/kiber-io/apkd.git
cd apkd
docker build --tag apkd:1.0 .
  1. Run
# on linux
docker run --rm -v ${PWD}:/usr/src/app apkd:1.0 --help

# on windows
docker run --rm -v "%cd%":/usr/src/app apkd:1.0 --help

Usage

To download an APK file, run the following command:

$ apkd -p com.instagram.android -d

To list available versions:

$ apkd -p com.instagram.android -lv

To choose source:

$ apkd -p com.instagram.android -d -s apkpure

To download certain version:

$ apkd -p com.instagram.android -d -vc 310260000

For batch download:

$ cat packages.txt
> com.instagram.android
> com.twitter.android
> com.facebook.katana==454214928

$ apkd -l packages.txt -d

Dependencies

  • beautifulsoup4 - for easy parsing of html pages
  • tqdm - to visually display the download process
  • requests - for all network requests
  • user-agent - to randomize the user-agent
  • prettytable - for a beautiful display of the list of versions in the table
  • pypasser - to bypass ReCaptcha at ApkCombo
  • cloudscraper - to bypass Cloudflare at ApkPure