PDA

View Full Version : Get the max value from a web page



sal21
08-17-2025, 07:52 AM
i need to get the max value from the button...

for year 2000 the max value is 3
for year 1997 the max value is 2
...
ecc...


see imge

actually i use this api:

With WHTTP
.setTimeouts 50000, 50000, 15000, 15000
.Open "GET", "https://www.xamig.com/superenalotto/1997/estrazioni.php", Rnd, False
.send
Sleep (500)
'Do Until html.ReadyState = 4
'Loop
html.body.innerHTML = .responseText
End With