[GH-ISSUE #729] sofifa.read_teams() method bug #158

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

Originally created by @miguelperosanz on GitHub (Oct 19, 2024).
Original GitHub issue: https://github.com/probberechts/soccerdata/issues/729

Describe the bug
.read_teams() method not working properly.

Affected scrapers
This affects the following scrapers:

  • SoFIFA

Code example

import soccerdata as sd

sofifa = sd.SoFIFA(leagues='ESP-La Liga', versions='latest', no_cache=True)
df = sofifa.read_teams()
df

Additional context
It displays teams like "Deportivo La Coruña" or "Real Zaragoza" that are not in the first spanish league since many years ago.

Contributor Action Plan

  • I’m not able to fix this issue.
Originally created by @miguelperosanz on GitHub (Oct 19, 2024). Original GitHub issue: https://github.com/probberechts/soccerdata/issues/729 **Describe the bug** .read_teams() method not working properly. **Affected scrapers** This affects the following scrapers: - [x] SoFIFA **Code example** ```python import soccerdata as sd sofifa = sd.SoFIFA(leagues='ESP-La Liga', versions='latest', no_cache=True) df = sofifa.read_teams() df ``` **Additional context** It displays teams like "Deportivo La Coruña" or "Real Zaragoza" that are not in the first spanish league since many years ago. **Contributor Action Plan** - [x] I’m not able to fix this issue.
kerem 2026-03-02 15:56:16 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@miguelperosanz commented on GitHub (Oct 30, 2024):

Thanks it works fine now. I appreciate it

<!-- gh-comment-id:2447803685 --> @miguelperosanz commented on GitHub (Oct 30, 2024): Thanks it works fine now. I appreciate it
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#158
No description provided.