[biplan] site changed
This commit is contained in:
parent
15a204b7ae
commit
a632a75a59
1 changed files with 1 additions and 1 deletions
|
|
@ -66,7 +66,7 @@ class StartTime(Filter):
|
|||
def filter(self, el):
|
||||
index = 1 if len(el) > 1 else 0
|
||||
content = CleanText.clean(CleanText('.', ['HORAIRES'])(el[index]))
|
||||
a_time = content.split(' - ')[-2]
|
||||
a_time = content.split(' - ')[0]
|
||||
regexp = re.compile(ur'(?P<hh>\d+)h?(?P<mm>\d+)')
|
||||
m = regexp.search(a_time)
|
||||
return time(int(m.groupdict()['hh'] or 0), int(m.groupdict()['mm'] or 0))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue