implement searches on INA
This commit is contained in:
parent
87cd2bebec
commit
9fb8deb516
5 changed files with 72 additions and 5 deletions
|
|
@ -59,7 +59,7 @@ class VideoPage(BasePage):
|
|||
if m:
|
||||
day, month, year = [int(s) for s in m.group(1).split('/')]
|
||||
date = datetime.datetime(year, month, day)
|
||||
duration = datetime.timedelta(minutes=m.group(3), seconds=m.group(2))
|
||||
duration = datetime.timedelta(minutes=int(m.group(3)), seconds=int(m.group(2)))
|
||||
return date, duration
|
||||
else:
|
||||
return None
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue