mirror of
https://git.sr.ht/~cadence/NewLeaf
synced 2025-10-09 09:05:57 +00:00
This removes all of the code that was previously used to get them from /timedtext, and instead, always uses whatever is extracted from the video page. This does unfortunately now require a whole video fetch just for the captions. But assuming captions are only requested by a frontend, this won't be a problem due to the memory cache. The captions link will be in memory because the just-requested video is in memory too.
NewLeaf
Navigation
- Project hub
- Announcements
- CloudTube repo
- › NewLeaf repo
- Documentation repo
- Mailing list for development and discussion
- Todo tracker for listing problems and feature requests
- Chatroom on Matrix
NewLeaf is a YouTube data extractor, compatible with the Invidious API.
NewLeaf has no frontend. It is intended to be used in combination with a frontend like CloudTube.
NewLeaf uses yt-dlp to assist with data extraction, but also does some extraction itself.
API status
License
AGPL 3
Languages
Python
95.8%
HTML
3.7%
Dockerfile
0.4%
Shell
0.1%