Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NCAAB Boxscore and Boxscores returning blank for valid inputs #774

Open
colesims-working opened this issue Jan 8, 2023 · 2 comments
Open

Comments

@colesims-working
Copy link

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
Copy link

Criviere commented Jan 9, 2023

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

@Criviere
Copy link

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants