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 (6th Jul 2018) uses:

  1. Python 3.6.6, youtube-dl 2018.01.18
  2. linked with zlib 1.2.11 and OpenSSL 1.1.0h
  3. built with gcc 4.9.x (NDK r17b)



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

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

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


If you just want to have youtube-dl updated, you can replace the file with a fresh copy downloaded from here.
You can also reach me on the mpv-android IRC channel.