GitHub nuked my clearly non-infringing patch to youtube-dl and the non-infringing GitHub issue. So here's a mirror:
[youtube] Fix download of auto-captions when subtitles are available
To apply it you will need a copy of youtube-dl. You can find latest release (incl. source code) on yt-dl.org, its official website. In addition, the development versions and source code history is available:
https://gitee.com/mirrors/youtube-downloader.giton Gitee appears to be a very up-to-date clone, including the 2020-10-22 commit referenced in Google Web Cachearchive.is, archive.org, and the earlier 2020-10-17 commit referenced in an Internet Archive crawl.
.githubdirectory), however, all source code files at the Debian git
HEADseem to match the upstream code at the tag
https://git.osuv.de/star/youtube-dlas a reliable mirror.
The releases and git tags are signedarchive.org and you can find the two relevant keys on your favorite PGP key server.
For more context, see "Music industry forces widely used journalist tool offline" from the Freedom of the Press Foundation and The Github youtube-dl Takedown Isn't Just a Problem of American Law from the Electronic Frontier Foundation.