4 ms·
It's a bit hacky and out of reach to most casual users, but you can get YouTube-DL to work with Termux. I have it set so that whenever I use the Termux share i
by m-p-3 8y ago
It's a bit hacky and out of reach to most casual users, but you can get YouTube-DL to work with Termux.
I have it set so that whenever I use the Termux share intent from another app, it use the shared URL and calls YouTube-DL with some parameters I want.
~/bin/termux-url-opener
#!/bin/bash
url=$1
youtube-dl $url
~/.config/youtube-dl/config
# Default Output Directory and Pattern
-o /data/data/com.termux/files/home/storage/downloads/%(extractor_key)s/%(uploader)s/%(title)s-%(id)s.%(ext)s