overload & and | operators to chain filters (refs #1426)
This commit is contained in:
parent
e025fb0b20
commit
8efd37e71d
5 changed files with 66 additions and 47 deletions
|
|
@ -642,6 +642,9 @@ class AbstractElement(object):
|
|||
def parse(self, obj):
|
||||
pass
|
||||
|
||||
def cssselect(self, *args, **kwargs):
|
||||
return self.el.cssselect(*args, **kwargs)
|
||||
|
||||
def xpath(self, *args, **kwargs):
|
||||
return self.el.xpath(*args, **kwargs)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue