Fix: Download-page HTML changed

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2021-04-11 13:19:26 +02:00
parent 33734f1b21
commit 003698662f
Signed by: luzifer
GPG key ID: 0066F03ED215AD7D

View file

@ -34,7 +34,7 @@ def latest_version():
fd = page.body.find(filter_file) fd = page.body.find(filter_file)
version = fd.find('span', 'version').text.strip() version = fd.find('span', 'version').text.strip()
checksum = fd.find('p', 'checksum').text.split(' ')[1] checksum = fd.find('pre', 'checksum').text.split(' ')[1]
return (version, checksum) return (version, checksum)