Hello everybody,
I try to get the latest version off an website (not the download but just the version).
For example this is the download site "https://gpac.wp.imt.fr/downloads/" and when manually press on Windows 64 bits it downloads version 1.0.1.
Is there a way to detect this information and save it as a variable in a python script?
So far, I have used this but it comes with two flaws (1) it's not entirely python and 2) it only saves the entire download link):
I try to get the latest version off an website (not the download but just the version).
For example this is the download site "https://gpac.wp.imt.fr/downloads/" and when manually press on Windows 64 bits it downloads version 1.0.1.
Is there a way to detect this information and save it as a variable in a python script?
So far, I have used this but it comes with two flaws (1) it's not entirely python and 2) it only saves the entire download link):
import os os.system (curl -s https://gpac.wp.imt.fr/downloads/ | grep x64)I would get the information for this particular software from somewhere else but there a few sites I would like to grab the release version.