Alex Balgavy

Just some stuff about me.

Here's my dotfiles repository.

Check out my blog.

My keys: PGP, SSH

My crypto wallets (BTC, XMR)


What links here:

Youtube-dl list videos in playlist

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.