Create canonical links to the latest versions of Tor Browser
Currently, I'm parsing https://dist.torproject.org/torbrowser/ to figure out the latest release of Tor Browser, but it would be really nice to have canonical links to the latest versions of Tor Browsers.
Here are some link ideas:
- https://www.torproject.org/download/latest (this link can do tricks and redirect based on the user agent)
I think these links should redirect to the usual download URLs (like https://www.torproject.org/dist/torbrowser/10.0.15/tor-browser-linux64-10.0.15_en-US.tar.xz) instead of directly serving the files.
One thing I couldn't figure out is adding the language option. Here I just assumed that the default language is
en-US. Maybe language can be added at the end of the URL (like https://www.torproject.org/download/latest/linux64/en-US) as an optional variable.
Note: Turns out there is already a link to get list of latest release files, but I think that link is very obscure: https://aus1.torproject.org/torbrowser/update_3/release/downloads.json