Don't fail if captions field is missing
Remove extraneous " align:start position:0%" on auto-generated captions
Support auto-generated captions
You can also use your local clone with
A Python web project that mirrors the Invidious API, passing all calls
directly to youtube-dl and reformatting the response to be compatible.
→ See the documentation.