mirror of
https://github.com/probberechts/soccerdata.git
synced 2026-04-25 18:15:58 +03:00
[GH-ISSUE #750] [Match History] football-data CSV files about 24/25 season start with BOM char #162
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#162
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 @sandromodarelli on GitHub (Nov 6, 2024).
Original GitHub issue: https://github.com/probberechts/soccerdata/issues/750
Describe the bug
all CSV files from football-data about 24/25 season start with a BOM charachter. this leads to a "fake" column named
Divin the dataset and makes the league translation impossible (with an exception)Affected scrapers
This affects the following scrapers:
Code example
A minimal code example that fails. Use
no_cache=Trueto make sure an invalid cached file does not cause the bug and make sure you have the latest version of soccerdata installed.Error message
Additional context
Add any other context about the problem here.
Contributor Action Plan
@Riccardo231 commented on GitHub (Dec 28, 2024):
Hello, I'd like to join the project by working on this issue.
@probberechts commented on GitHub (Dec 31, 2024):
Hi @ricor07. We'd love to have your help. My initial idea to solve this would be to add a function
_parse_csv(...)that selects the appropriate parser/encoding depending on the league and season.