Just some stuff about me.
Here's my dotfiles repository.
What links here:
youtube-dl -j --flat-playlist $playlist_url
And a one-liner to parse them into an Org list:
youtube-dl -j --flat-playlist $playlist_url 2>/dev/null \
| jq -r '"- [[\(.url)][\(.title)]]"'
The \()
there means string interpolation in jq. -r
to output raw, otherwise I’d get extra quotes in output.