Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Youtube-dl: Command-line program to download videos. Parent comment
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
# 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
There are no comments on this comment yet.
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
~/.config/youtube-dl/config