mirror of
https://github.com/probberechts/soccerdata.git
synced 2026-04-26 02:25:51 +03:00
[GH-ISSUE #614] [WhoScored] Adding European Championship as custom league #115
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#115
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 @yureed on GitHub (Jun 18, 2024).
Original GitHub issue: https://github.com/probberechts/soccerdata/issues/614
Hello,
I tried adding a custom league for Euros. According to the JS Console, the competition is called 'International-European-Championship'. I added the custom league like the following:
The code also tells me that league_dict.json is loaded.

Then I got the following error:
@probberechts commented on GitHub (Jun 18, 2024):
The correct league name is "International - European Championship" (note the spaces and hyphens). Also, note that the EUROs were added to the default supported leagues in version 1.8. See the release notes for details.
@yureed commented on GitHub (Jun 18, 2024):
I wasn't aware it was in the default supported leagues. Forgot to check release notes. It works now. Thank you so much for your help!!