Allow for old title
This commit is contained in:
parent
61a607e516
commit
533f3ef237
@ -42,6 +42,9 @@ class HtmlParser:
|
||||
title = self.getEventTitle()
|
||||
|
||||
match = re.compile('.*?OT, Solos (.*?)(?: ".*")?').fullmatch(title)
|
||||
if match is None:
|
||||
self.l.debug('Parsing HTML page title "%s" as OT failed. Falling back to legacy ETW.', title)
|
||||
match = re.compile('.*?ETW, Solos (.*?)(?: ".*")?').fullmatch(title)
|
||||
if match is None:
|
||||
self.l.info(
|
||||
'Cannot parse html title "%s". Is it a solo competition? Possible bug.',
|
||||
|
Loading…
Reference in New Issue
Block a user