[GH-ISSUE #114] Duplicate data after updating to version 1.3.0 #24

Closed
opened 2026-03-02 15:55:06 +03:00 by kerem · 3 comments
Owner

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

After updating from version 1.2.0 to 1.3.0 data from the fbref is repeated twice
The sample code

fb_data = fbref.read_player_match_stats(
                stat_type='summary', match_id=None, force_cache=False)
            fb_data.to_csv('./summary.csv')

log from version 1.3.0
image

log from version 1.2.0
image

In version 1.3.0, the log Retrieving game with id=**** is repeating twice.

Originally created by @DonBrowny on GitHub (Nov 27, 2022). Original GitHub issue: https://github.com/probberechts/soccerdata/issues/114 After updating from version 1.2.0 to 1.3.0 data from the fbref is repeated twice The sample code ``` fb_data = fbref.read_player_match_stats( stat_type='summary', match_id=None, force_cache=False) fb_data.to_csv('./summary.csv') ``` log from version 1.3.0 <img width="838" alt="image" src="https://user-images.githubusercontent.com/17572565/204137821-46ab4c6d-59d5-4864-912c-dd18ffe293eb.png"> log from version 1.2.0 <img width="820" alt="image" src="https://user-images.githubusercontent.com/17572565/204137879-6c1ccf90-0fbd-4190-895b-d4d35ffdc67d.png"> In version 1.3.0, the log Retrieving game with id=**** is repeating twice.
kerem closed this issue 2026-03-02 15:55:06 +03:00
Author
Owner

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

I cannot reproduce this. Also, it cannot be related to the v1.3 update as this part of the code was not modified. Which league/season are you attempting to scrape?

<!-- gh-comment-id:1328267534 --> @probberechts commented on GitHub (Nov 27, 2022): I cannot reproduce this. Also, it cannot be related to the v1.3 update as this part of the code was not modified. Which league/season are you attempting to scrape?
Author
Owner

@DonBrowny commented on GitHub (Nov 27, 2022):

I am trying to scrape ENG-Premier League

fbref = sd.FBref(leagues=['ENG-Premier League'],
                     seasons=2022)
<!-- gh-comment-id:1328273763 --> @DonBrowny commented on GitHub (Nov 27, 2022): I am trying to scrape `ENG-Premier League` ``` fbref = sd.FBref(leagues=['ENG-Premier League'], seasons=2022) ```
Author
Owner

@probberechts commented on GitHub (Jan 8, 2023):

This seems to work fine on my end. I'll reopen if you can provide additional details about what causes the problem on your end.

<!-- gh-comment-id:1374815513 --> @probberechts commented on GitHub (Jan 8, 2023): This seems to work fine on my end. I'll reopen if you can provide additional details about what causes the problem on your end.
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#24
No description provided.