desired [read .html page and update filename]

Hi
I would very much like it, if Hazel
1 could read the contents of 1 offlines html page (with filename = filename.html) and
2 find the value for y,
3 then update the filename.html to y+oldfilename.html.
The webpage is downloaded from the website once a week and saved with filename= filename.html on mac harddrive.
I am wondering if this task is this beyond hazel as I could not find any function for "read html page/search contents of documents" or something similar.
Thankyou for your help
I would very much like it, if Hazel
1 could read the contents of 1 offlines html page (with filename = filename.html) and
2 find the value for y,
3 then update the filename.html to y+oldfilename.html.
The webpage is downloaded from the website once a week and saved with filename= filename.html on mac harddrive.
I am wondering if this task is this beyond hazel as I could not find any function for "read html page/search contents of documents" or something similar.
Thankyou for your help