[GH-ISSUE #299] Add FIFA Women's World Cup whoscored data #55

Closed
opened 2026-03-02 15:55:23 +03:00 by kerem · 2 comments
Owner

Originally created by @clairesecehDS on GitHub (Jul 20, 2023).
Original GitHub issue: https://github.com/probberechts/soccerdata/issues/299

Is it possible to add FIFA Women's World Cup to validated scraping league?

Originally created by @clairesecehDS on GitHub (Jul 20, 2023). Original GitHub issue: https://github.com/probberechts/soccerdata/issues/299 Is it possible to add FIFA Women's World Cup to validated scraping league?
kerem closed this issue 2026-03-02 15:55:23 +03:00
Author
Owner

@probberechts commented on GitHub (Jul 20, 2023):

I have not fully tested it yet, but it seems straightforward to add support for scraping the FIFA Women's World Cup data from FBref and WhoScored. I'll add it to the default supported leagues and make sure everything works tomorrow or during the weekend. If you would like to use it already, you should add the following to the SOCCERDATA_DIR/config/league_dict.json file:

"INT-Women's World Cup": {
    "FBref": "FIFA Women's World Cup",
    "WhoScored": "International - FIFA Women's World Cup",
}

Next, you should be able to scrape the data with:

import soccerdata as sd

ws = sd.WhoScored("INT-Women's World Cup", 2324, no_cache=True)
df_events = ws.read_events(match_id=1751717)

fbref = sd.FBref("INT-Women's World Cup", 2324, no_cache=True)
df_team_season_stats = fbref.read_team_season_stats()
<!-- gh-comment-id:1644449745 --> @probberechts commented on GitHub (Jul 20, 2023): I have not fully tested it yet, but it seems straightforward to add support for scraping the FIFA Women's World Cup data from FBref and WhoScored. I'll add it to the default supported leagues and make sure everything works tomorrow or during the weekend. If you would like to use it already, you should add the following to the `SOCCERDATA_DIR/config/league_dict.json` file: ```json "INT-Women's World Cup": { "FBref": "FIFA Women's World Cup", "WhoScored": "International - FIFA Women's World Cup", } ``` Next, you should be able to scrape the data with: ```python import soccerdata as sd ws = sd.WhoScored("INT-Women's World Cup", 2324, no_cache=True) df_events = ws.read_events(match_id=1751717) fbref = sd.FBref("INT-Women's World Cup", 2324, no_cache=True) df_team_season_stats = fbref.read_team_season_stats() ```
Author
Owner

@clairesecehDS commented on GitHub (Jul 21, 2023):

That's worked fine. Thanks for your time!

<!-- gh-comment-id:1645722762 --> @clairesecehDS commented on GitHub (Jul 21, 2023): That's worked fine. Thanks for your time!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/soccerdata#55
No description provided.