NCAAB Boxscore and Boxscores returning blank for valid inputs
colesims-working opened this issue · 2 comments
colesims-working commented
The following code returns nothing for either games or game_data. From reviewing previous issues, it likely could be a format change.
from datetime import date, datetime
from sportsipy.ncaab.boxscore import Boxscore, Boxscores
yr, mo, dy = date.today().year, date.today().month, date.today().day
games = Boxscores(datetime(2021,11,7), datetime(yr,mo,dy))
game_data = Boxscore('2023-01-05-19-central-connecticut-state.html')
Criviere commented
@colesims-working I ended up creating my own script to scrape historical box score data for the last 5 seasons (in my case). Hopefully this helps you. Feel free to use the script and modify it to your needs.