diff --git a/src/solo_turnier/html_parser.py b/src/solo_turnier/html_parser.py index aca6ee8..ed6e1e2 100644 --- a/src/solo_turnier/html_parser.py +++ b/src/solo_turnier/html_parser.py @@ -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.',