~ghuter/caoydl

rewrite of the "aoydl" shell script in C based on the "frontends" project at codemadness.org
found a better way than to use `strlcat()` and `strlcpy()`
Update the README: dependencies, instructions to compile
Update Makefile to install man pages

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~ghuter/caoydl
read/write
git@git.sr.ht:~ghuter/caoydl

You can also use your local clone with git send-email.

Originally a rewrite of [aoydl](https://acz.kalli.st/00220/aoydl)
(shell script) in C.  It was based based on
[frontends](https://git.codemadness.org/frontends/file/README.html).

- `cli <url|id>`:
    get video direct links
    get channel's video urls
    get playlist's video urls
- `cli -s <query>`:
    search for videos
- `cli -S <query>`:
    search for videos (long output)
- `cli -c <query>`:
    search for channel
- `cli -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!


TODO
====

- each time a troncature is done, give feedback!
  (at least until all data sizes are not well known)


NOTES
=====

Eventually take inspiration from:

    /usr/lib/python3.10/site-packages/yt_dlp/extractor/youtube.py:/if\ not\ fmt_url