Skip to content

Commit

Permalink
Cycle through all days, not just ondays (days with T25 teams)
Browse files Browse the repository at this point in the history
Signed-off-by: Jack Lichtenstein <[email protected]>
  • Loading branch information
JackLich10 authored Jan 6, 2025
1 parent f3b937a commit b1cbf6e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/scrape_wbb_schedules.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def download_game_schedules(seasons, path_to_schedules):

def download_schedule(season, path_to_schedules = None):
logger.info(f"Scraping WBB schedules for year {season}...")
df = sdv.wbb.espn_wbb_calendar(season, ondays = True, return_as_pandas = True)
df = sdv.wbb.espn_wbb_calendar(season, return_as_pandas = True)
calendar = df["dateURL"].str.replace("-","").tolist()
ev = pd.DataFrame()
for d in calendar:
Expand Down Expand Up @@ -84,4 +84,4 @@ def main():
parser.add_argument("--rescrape", "-r", type = bool, default = True, help = "Rescrape all games in the schedule period")
args = parser.parse_args()

main()
main()

0 comments on commit b1cbf6e

Please sign in to comment.