Passing raw YouTube URLs without strict validation felt too risky, so proper URL validation and argument hardening for yt-dlp are officially here!

(Fun fact: Ran cargo fmt before committing, so it looks like I rewrote half the repo ๐Ÿ˜… Still learning Git for my first project, but the code is as clean as my knowledge goes and the fix is properly handled!)

GitHub:

https://github.com/AbuKaram01/subscrub

#Rust #RustLang #Security #OpenSource #CLI

GitHub - AbuKaram01/subscrub: Download, clean, and embed YouTube subtitles โ€” from the terminal.

Download, clean, and embed YouTube subtitles โ€” from the terminal. - AbuKaram01/subscrub

GitHub
@AbuKaram01 hardening yt-dlp args is exactly the kind of thing people skip until it bites them, nice catch for a first project. and the cargo fmt giant-diff scare is a rite of passage, every git history has one of those