mirror of
https://github.com/probberechts/soccerdata.git
synced 2026-04-25 10:05:53 +03:00
[GH-ISSUE #702] [SoFifa] Not downloading league data for women leagues #149
Labels
No labels
ESPN
FBref
FotMob
MatchHistory
SoFIFA
Sofascore
WhoScored
WhoScored
bug
build
common
dependencies
discussion
documentation
duplicate
enhancement
good first issue
invalid
performance
pull-request
question
question
removal
understat
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/soccerdata#149
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @tomerarazy on GitHub (Sep 11, 2024).
Original GitHub issue: https://github.com/probberechts/soccerdata/issues/702
I'm trying to get league composition for Women leagues from SoFifa, but for some reason the downloaded HTML is missing the whole teams table.
Minimal code example:
The URL of the page it attempts to scrape is: https://sofifa.com/teams?lg=2216&r=230001&set=true
When looking at the HTML downloaded by Chrome the table is there and structure is similar to the Men's leagues.
I've uploaded the HTML file (changed to txt since github doesn't allow me to upload)
teams_2216_230001.txt
@probberechts commented on GitHub (Oct 30, 2024):
When I try to access the URL in Chrome, I don't see a table.
@wbtomer commented on GitHub (Sep 10, 2025):
I finally got around looking at it - in SoFIFA you need to set
gender=1if you want to see women data, even if the league/team existsSo in this case the url should be:
https://sofifa.com/teams?lg=2216&r=230001&set=true&gender=1
Hopefully I'll get around writing a Pull request for this, but seeing how it took me about 1 year to look at this issue I'm not very optimistic...