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.git
on 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.4eda10499
..github
directory), however, all source code files at the Debian git HEAD
seem to match the upstream code at the tag 2020.09.14
.#youtube-dl
frequently mention https://git.osuv.de/star/youtube-dl
as 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.