I was writing a script with wget that tried to download the latest version of blender available on blenders home page to try to automate downloading the latest version. I ran into a problem with wget though. If you continue through the webpage to the download page of your desired version, there seems to be a redirection request (or something like it) that gives you a mirror to the most appropriate download for you location. I tried using
curl -L -O to try to follow that redirection, but it didn't seem to do what I wanted it to.
Is there a way to handle this using wget? My current ideal script would navigate from the blender home page every time without any hard links to specific versions.