ability to use filters as classes in chain (refs #1426)

This commit is contained in:
Romain Bignon 2014-07-05 20:22:03 +02:00
commit 983ed221e2
4 changed files with 18 additions and 15 deletions

View file

@ -39,7 +39,7 @@ class VideoPage(HTMLPage):
obj_title = CleanText('//title')
obj_nsfw = True
obj_ext = u'flv'
obj_duration = CleanText('//div[@id="video_text"]') & Duration()
obj_duration = CleanText('//div[@id="video_text"]') & Duration
def obj_url(self):
real_id = int(self.env['id'].split('-')[-1])