Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WhoScored] Error handling for missing events #636

Merged
merged 3 commits into from
Jul 18, 2024
Merged

Conversation

probberechts
Copy link
Owner

Previously, the javascript variable that stores all events was empty when no events were available for a given game. Since the change fixed in #618, the javascript variable is missing instead, resulting in a JavascriptException. This commit updates the error handling accordingly.

Closes #633

Previously, the javascript variable that stores all events was empty when no
events were available for a given game. Since the change fixed in #618, the
javascript variable is missing instead, resulting in a `JavascriptException`.
This commit updates the error handling accordingly.

Closes #633
@probberechts probberechts added bug Something isn't working WhoScored Issue or pull request related to the WhoScored scraper labels Jul 8, 2024
soccerdata/whoscored.py Outdated Show resolved Hide resolved
Co-authored-by: Alex Barnsley <[email protected]>
@probberechts probberechts merged commit 8d54b61 into master Jul 18, 2024
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working WhoScored Issue or pull request related to the WhoScored scraper
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[WhoScored] javascript undefined args when fetching data
2 participants