Get last official blender version from the terminal. (python script)

For if interested. I am creating a script for download the latest official version from the blender website. This simple python script work in the terminal. For now it only works fully on Linux 32 and 64 bits. If anyone wants to try and/or help me with the other platforms be welcome…

Script:

literals are in Spanish but have easy translation.