diff --git a/src/solo_turnier/html_parser.py b/src/solo_turnier/html_parser.py index db97cac..45b3f32 100644 --- a/src/solo_turnier/html_parser.py +++ b/src/solo_turnier/html_parser.py @@ -60,12 +60,14 @@ class HtmlParser: if tds[1].contents[0].startswith('Alle Starter weiter genommen.'): self.l.info('No excluded starters found.') return + regex = re.compile('(.*) \\(([0-9]+)\\)') place = tds[0].contents[0] match = regex.fullmatch(tds[1].contents[0]) if match is None: + self.l.error('Could not match %s to regex search pattern', str(tds)) raise Exception(f'Could not match {tds} to regex search pattern') name = match.group(1) number = match.group(2)