[GH-ISSUE #359] [FBref] HTTP error 500 reading team match stats for current season #67

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

Originally created by @Manev100 on GitHub (Sep 8, 2023).
Original GitHub issue: https://github.com/probberechts/soccerdata/issues/359

Hello,

I'm using Python 3.10.10 and soccerdata version 1.5.1.

The following code is returning "HTTPError: 500 Server Error: Internal Server Error"

fbref = sd.FBref(leagues="GER-Bundesliga", seasons="23") 
team_match_stats = fbref.read_team_match_stats(stat_type="shooting")

image

Same issue for other leagues and different stats. Earlier seasons work as expected.

It seems like the URL that is being requested (https://fbref.com/en/squads/0cdc4311/matchlogs/all_comps/shooting) is missing the season, https://fbref.com/en/squads/0cdc4311/matchlogs/2023-2024/all_comps/shooting opens the correct page.

Cheers

Originally created by @Manev100 on GitHub (Sep 8, 2023). Original GitHub issue: https://github.com/probberechts/soccerdata/issues/359 Hello, I'm using Python 3.10.10 and soccerdata version 1.5.1. The following code is returning "HTTPError: 500 Server Error: Internal Server Error" ``` fbref = sd.FBref(leagues="GER-Bundesliga", seasons="23") team_match_stats = fbref.read_team_match_stats(stat_type="shooting") ``` ![image](https://github.com/probberechts/soccerdata/assets/1671858/ffd1ceb1-a9c4-49af-881a-4e543d9ea011) Same issue for other leagues and different stats. Earlier seasons work as expected. It seems like the URL that is being requested (https://fbref.com/en/squads/0cdc4311/matchlogs/all_comps/shooting) is missing the season, https://fbref.com/en/squads/0cdc4311/matchlogs/2023-2024/all_comps/shooting opens the correct page. Cheers
kerem 2026-03-02 15:55:29 +03:00
  • closed this issue
  • added the
    bug
    FBref
    labels
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#67
No description provided.