[GH-ISSUE #98] [WhoScored] Do not cache empty event files #21

Closed
opened 2026-03-02 15:55:04 +03:00 by kerem · 1 comment
Owner

Originally created by @probberechts on GitHub (Nov 13, 2022).
Original GitHub issue: https://github.com/probberechts/soccerdata/issues/98

Not caching empty event files has the advantage that the scraper will retry to retrieve events on each run (e.g., for games that still had to be played on the previous run) and avoids parsing errors in 3rd party libraries.

Originally created by @probberechts on GitHub (Nov 13, 2022). Original GitHub issue: https://github.com/probberechts/soccerdata/issues/98 Not caching empty event files has the advantage that the scraper will retry to retrieve events on each run (e.g., for games that still had to be played on the previous run) and avoids parsing errors in 3rd party libraries.
kerem 2026-03-02 15:55:04 +03:00
Author
Owner

@probberechts commented on GitHub (Nov 13, 2022):

As a workaround, these can be deleted with:

find . -name "*.json" -type f -size -60k -delete
<!-- gh-comment-id:1312791242 --> @probberechts commented on GitHub (Nov 13, 2022): As a workaround, these can be deleted with: ```bash find . -name "*.json" -type f -size -60k -delete ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/soccerdata#21
No description provided.