diff --git a/scrape-baseball-games.py b/scrape-baseball-games.py index 6512683f..b89f8a21 100644 --- a/scrape-baseball-games.py +++ b/scrape-baseball-games.py @@ -70,5 +70,5 @@ def game_odds(): # Concatenate the resulting DataFrames into a single DataFrame run_odds = pd.concat(result_dfs, ignore_index=True) -run_odds.to_csv("data/baseballrunodds"+strftime("%Y%m%d%H%M", gmtime())+".csv",index=False) -games.to_csv("data/baseballgames"+strftime("%Y%m%d%H%M", gmtime())+".csv",index=False) +run_odds.to_csv("data/2024/baseballrunodds"+strftime("%Y%m%d%H%M", gmtime())+".csv",index=False) +games.to_csv("data/2024/baseballgames"+strftime("%Y%m%d%H%M", gmtime())+".csv",index=False)