I am trying to get a value out of a HTML page using the python HTMLParser library. The value I want to get hold of is within this html element:
...
Have You tried BeautifulSoup ?
from bs4 import BeautifulSoup soup = BeautifulSoup('20') tag=soup.div print(tag.string)
This gives You 20 on output.
20