weboob.browser.elements

exception weboob.browser.elements.DataError

Bases: exceptions.Exception

Returned data from pages are incoherent.

class weboob.browser.elements.AbstractElement(page, parent=None, el=None)

Bases: object

condition = None
cssselect(*args, **kwargs)
handle_loaders()
parse(obj)
use_selector(func, key=None)
xpath(*args, **kwargs)
class weboob.browser.elements.ListElement(*args, **kwargs)

Bases: weboob.browser.elements.AbstractElement

check_next_page()
find_elements()

Get the nodes that will have to be processed. This method can be overridden if xpath filters are not sufficient.

flush()
flush_at_end = False
ignore_duplicate = False
item_xpath = None
store(obj)
class weboob.browser.elements.ItemElement(*args, **kwargs)

Bases: weboob.browser.elements.AbstractElement

class Index

Bases: object

ItemElement.build_object()
ItemElement.handle_attr(key, func)
ItemElement.klass = None
ItemElement.should_highlight()
ItemElement.validate = None
class weboob.browser.elements.TableElement(*args, **kwargs)

Bases: weboob.browser.elements.ListElement

cleaner

alias of CleanText

get_colnum(name)
head_xpath = None
exception weboob.browser.elements.SkipItem

Bases: exceptions.Exception

Raise this exception in an ItemElement subclass to skip an item.