Skip to content

Commit

Permalink
Fixed parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
dmham187 committed Aug 20, 2021
1 parent 159c2a8 commit 7dfbc26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kicktippbb.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def parse_match_rows(browser: RoboBrowser, community, matchday = None):
gasttipp = row[3].find(
'input', id=lambda x: x and x.endswith('_gastTipp'))
match = Match(row[1].get_text(), row[2].get_text(), row[0].get_text(
), row[4].get_text(), row[5].get_text(), row[6].get_text())
), row[4].get_text().replace("/",""), row[5].get_text().replace("/",""), row[6].get_text())
if not match.match_date:
match.match_date = lastmatch.match_date
lastmatch = match
Expand Down Expand Up @@ -222,7 +222,7 @@ def choose_predictor(predictor_param, predictors):


def main(arguments):
browser = RoboBrowser(parser="html.parser")
browser = RoboBrowser(parser="html5lib")

validate_arguments(arguments)
predictors_ = predictors.base.get_predictors()
Expand Down

0 comments on commit 7dfbc26

Please sign in to comment.