JuanBindez/pytubefix ? reverse-engineered prompt

Reverse engineered prompt

Build me a Python library for downloading YouTube videos, playlists, channels, subtitles, and search results, kind of like a cleaner replacement for pytube.

I want it to let me create a YouTube object from a video URL, list available streams, download the highest quality video or audio only, and save files to a folder I choose. It should also support playlists and channels so I can loop through all videos and download them one by one. Please include caption and subtitle support too, like listing tracks, printing them as SRT, and saving them to a file.

If possible, add OAuth support for age restricted content and a simple progress callback during downloads. I’d also like an async version for people using asyncio, with methods for getting metadata like title, views, likes, author, thumbnail, chapters, and key moments without blocking. Use the existing README examples as the main guide, and look up current docs online if you need to.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab