David Bear wrote:
> I'm trying to understand how to use the HTMLParser in htmllib but I'm not
> seeing enough examples.
>
> I just want to grab the contents of everything enclosed in a '' tag,
> i.e. items from where begins to where ends. I start by doing
>
> class HTMLBody(HTMLParser):
>d
I'm trying to understand how to use the HTMLParser in htmllib but I'm not
seeing enough examples.
I just want to grab the contents of everything enclosed in a '' tag,
i.e. items from where begins to where ends. I start by doing
class HTMLBody(HTMLParser):
def __init__(self):
self.conte