dcstats / CBBpy

A Python-based web scraper for NCAA basketball.
MIT License
11 stars 2 forks source link

Game 401216185: "ValueError: invalid literal for int() with base 10: ''" #5

Closed dcstats closed 2 years ago

dcstats commented 2 years ago

Traceback

ERROR:scrape:"Fri Sep  2 00:43:21 2022" attempt 3: 401216185 - invalid literal for int() with base 10: ''
Traceback (most recent call last):
  File "/opt/homebrew/Caskroom/miniforge/base/lib/python3.9/site-packages/cbbpy/mens_scraper.py", line 324, in get_game_info
    home_win = True if int(home_score) > int(away_score) else False
ValueError: invalid literal for int() with base 10: ''
dcstats commented 2 years ago

Fixed with a36497211d44d9e5abaadbf7fb73e69b31dd8dce