thank you for your time, here is the code:
#!/usr/bin/env python
from lxml import html
import requests
import sys
import time
import datetime
FREQUENCY_SECONDS = 300
while True:
page = requests.get('
http://192.168.88.18/livedata.htm')
tree = html.fromstring(page.content)
relPressure = tree.xpath('//input[@name="RelPress"]')[0].value
outTemp = tree.xpath('//input[@name="outTemp"]')[0].value
outHumid = tree.xpath('//input[@name="outHumi"]')[0].value
windDir = tree.xpath('//input[@name="windir"]')[0].value
windSpeed = tree.xpath('//input[@name="avgwind"]')[0].value
windGust = tree.xpath('//input[@name="gustspeed"]')[0].value
solarRadiation = tree.xpath('//input[@name="solarrad"]')[0].value
uv = tree.xpath('//input[@name="uv"]')[0].value
uvi = tree.xpath('//input[@name="uvi"]')[0].value
rainHourly = tree.xpath('//input[@name="rainofhourly"]')[0].value
ts = time.time()
st = datetime.datetime.fromtimestamp(ts).strftime('%Y%m%d%H%M')
f = open("pwsdata.txt","a")
with open("pwsdata.txt", "a") as f:
f.write(st + ",")
f.write(relPressure + ",")
f.write(outTemp + ",")
f.write(outHumid + ",")
f.write(windDir + ",")
f.write(windSpeed + ",")
f.write(windGust + ",")
f.write(solarRadiation + ",")
f.write(uv + ",")
f.write(uvi + ",")
f.write(rainHourly + "\n")
time.sleep(FREQUENCY_SECONDS)
-----------------------------------------------------------------------
basically it is web scraping