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:
After unpacking, youtube-dl can be invoked using PYTHONHOME=. ./python3 youtube-dl.
You probably want to create a wrapper script like this:
Note: SSL/TLS certificate validation is enabled, so the SSL_CERT_FILE environment variable should point to the trusted certificate store.
If you just need a newer youtube-dl, you can run youtube-dl --update on device or replace the file with a fresh one from here.
You can also reach me on the mpv-android IRC channel.