weboob.deprecated.browser.parsers.iparser

class weboob.deprecated.browser.parsers.iparser.IParser

Bases: object

parse(data, encoding=None)

Parse a HTML document with a specific encoding to get a tree.

@param data [str] HTML document @param encoding [str] encoding to use @return an object with the structured document

strip(data)

Strip a HTML string.

tocleanstring(elem)

Get a clean string from an element.

tostring(elem)

Get HTML string from an element.

class weboob.deprecated.browser.parsers.iparser.RawParser

Bases: weboob.deprecated.browser.parsers.iparser.IParser

parse(data, encoding=None)
tostring(elem)

Previous topic

weboob.deprecated.browser.parsers.csvparser

Next topic

weboob.deprecated.browser.parsers.jsonparser