youtube-dl for Android

This is an (unofficial) build of youtube-dl for ARM-based Android devices.
The distribution includes everything needed to run youtube-dl, that is: Python, its stdlib and youtube-dl itself.


The current build (7th April 2022) uses:

  1. Python 3.9.12, youtube-dl 2021.12.17
  2. linked with OpenSSL 1.1.1n
  3. built with NDK r24, API level: 21


Warning: As of mid 2022 this is no longer being updated.


After unpacking, youtube-dl can be invoked using PYTHONHOME=. ./python3 youtube-dl.
You probably want to create a wrapper script like this:

#!/system/bin/sh cd /path/to/youtube/dl export PYTHONHOME=. exec ./python3 youtube-dl "$@"

Note: SSL/TLS certificate validation is enabled, so the SSL_CERT_FILE environment variable should point to the trusted certificate store.


You can also reach me on the mpv-android IRC channel.