It's still available from a bunch of Linux repositories. As it's completely written in Python, you can extract those packages and use the code even on Windows (or MACos, if you're into that sort of thing) https://www.archlinux.org/packages/community/any/youtube-dl/