Originally a rewrite of [aoydl](https://acz.kalli.st/00220/aoydl)
(shell script) in C. It was based on
[frontends](https://git.codemadness.org/frontends/file/README.html).
- `caoydl <url|id>`:
get video direct links
get channel's video urls
get playlist's video urls
- `caoydl -s <query>`:
search for videos
- `caoydl -S <query>`:
search for videos (long output)
- `caoydl -c <query>`:
search for channel
- `caoydl -P <url|id>`:
get channel's playlists
All of these options can be combined with the `-r` flag which gives you the raw
json(s).
INSTALLATION
============
Dependencies:
- C compiler
- LibreSSL + libtls
- make
Then:
$ make
And optionally, as root:
$ make install
BUGS
=====
Empty. Does not mean there is no bug!
NOTES
=====
Eventually take inspiration from:
/usr/lib/python3.10/site-packages/yt_dlp/extractor/youtube.py:/if\ not\ fmt_url