Ytuwu
- 7 Devlogs
- 39 Total hours
A rust library for using the internal youtube api to download content.
A rust library for using the internal youtube api to download content.
documentation is really important for libraries and that’s why i spent the last ~8h with writing documentation
I have 8118 lines of code in total and 931 of them are documentation i wrote the last hours which was a pain and not really fun to do.
Also, while documenting I found many things I have to change and i basically farmed TODOs which is awesome because now i can fix many bugs :3
I started restructuring the entire main Downloader struct. It now has a shared download-task-pool and a shared downloaded-pool. This allows downloading a fixed number of songs at the same time, which is useful when handling rate limits. Right now this is only implemented for single media streams, but the rest should not be too hard to implement - the basics are already there.
The video shows the usage of the new api:
I added a lot of tests to my library and changed some small things i cant remember.
This is the first post on my project “ytuwu”. It’s a YouTube downloader written in rust. The current features can be viewed in my readme.
I had this idea because ytdlp, the alternative written in python, does not allow the download of an entire channel, meaning you would have to extract all the singles, EPS and albums by yourself. I wanted something that could do that for me, so here is ytuwu (an ongoing project for ~2 months now).
The last 4h were used to make the API more usable, so the user doesn’t have to specify the full path for the channel id/browse ID.
I also implemented the default process so it can display media that is just queued and not being downlaoded right now.
The attachment shows a full download of a playlist containing 13 songs at full audio quality. :3