[residentadvisor] search by summary

This commit is contained in:
Alexandre Morignot 2014-11-24 23:15:25 +01:00 committed by Romain Bignon
commit cbc67ee5a6
3 changed files with 7 additions and 3 deletions

View file

@ -109,4 +109,5 @@ class SearchPage(BasePage):
obj_id = Regexp(Link('./a[1]'), r'\?(\d+)')
obj_summary = CleanText('./a[1]')
obj_start_date = Date(CleanText('./span[1]'))
obj_booked_entries = Type(CleanText('.//p[@class="attending"]/span'), type=float)
obj_category = CATEGORIES.CONCERT
obj_status = STATUS.CONFIRMED