roclark/sportsipy

NCAAB Boxscore and Boxscores returning blank for valid inputs

colesims-working opened this issue · 2 comments

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')

Same here... getting null output even after trying #720

@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.

https://github.com/Criviere/NCAAB_Sports_Reference_BoxScore_Data_Scraper/blob/main/NCAAB_Scrape_Historical_Data.py