apkDL

Simple cross-platform CLI script to download APK/XAPK files from APKPure using package names.

1
0
1
Python
public

APKDL

image

Simple cross-platform CLI script to download APK/XAPK files from APKPure using package names.


Quick Start

1. Requirements

  • Python 3
  • curl

Install curl if needed:

Ubuntu/Debian

sudo apt install curl

Mac (Homebrew)

brew install curl

Windows

  • curl comes preinstalled on Windows 10+

2. Run

python apkDL.py com.android.chrome

3. Linux/macOS (optional CLI install)

chmod +x apkDL.py
mv apkDL.py /usr/local/bin/apkDL

Then:

apkDL com.android.chrome

Output

Downloads file into current directory:

com.android.chrome.xapk

How it works

  • Uses APKPure direct download endpoint:

    https://d.apkpure.com/b/XAPK/{package}?version=latest
    
  • Uses curl instead of Python requests to bypass 403 blocking

  • Automatically detects OS:

    • Windows → curl.exe
    • Linux/macOS → curl

Notes

  • Output is usually .xapk (may contain split APKs)
  • You may need an XAPK installer to use the file

License

MIT License

v0.3.1[beta]