Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Download page should make use of a link without version, but with 'latest' tag instead. #4677
Comments
|
You can actually use it |
|
As @jaimeMF said, your suggestion is implemented already! There's also the shorter https://yt-dl.org/latest/youtube-dl if you want. Note that there is a reason why the download page hardcodes the version number. If it were dynamic, the checksums published there would not match the actual files during the release of a new version. |
http://rg3.github.io/youtube-dl/download.html hard codes the latest version in the command to download it.
sudo curl https://yt-dl.org/downloads/2015.01.10.2/youtube-dl -o /usr/local/bin/youtube-dl
When I install a new Linux machine, I would like to run a script that downloads the latest. Therefore, I would like to be able to run:
sudo curl https://yt-dl.org/downloads/latest/youtube-dl -o /usr/local/bin/youtube-dl
Notice the verrsion replaced by 'latest'.