mirror of
https://github.com/probberechts/soccerdata.git
synced 2026-04-26 02:25:51 +03:00
[GH-ISSUE #633] [WhoScored] javascript undefined args when fetching data #124
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#124
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 @alexbarnsley on GitHub (Jul 7, 2024).
Original GitHub issue: https://github.com/probberechts/soccerdata/issues/633
When fetching the data from whoscored.com, I've started receiving the below error. Upon a little investigation, it seems the
varpath has been changed again (based on the recent PR #618)As you can see in the screenshot below, the formatting seems to have changed compared to what is being looked for, and I've not been around long enough to know what the correct data should look like?:
In case it's relevant only for a specific match, it's occurring on
/Matches/1245647/LiveVersions:
soccerdata: 1.8.1
selenium: 4.22.0
undetected-chromedriver: 3.5.5
P.S. Great work with this library!
Thanks,
Alex
@probberechts commented on GitHub (Jul 8, 2024):
There is no event data for the game you are referring to. You can see this because there is no widget with the line-ups, chalkboard, etc. under the "Match Centre" tab.
It seems that I forgot to update the error-handling logic in #618. I assume there will be no issues for games for which event data is available.
@alexbarnsley commented on GitHub (Jul 9, 2024):
That's good to know. I tested using the branch/PR and it all seems to be working without issues now, thanks!