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

Error with 3 leagues in read_schedule #715

Open
3 tasks
fmartinmora opened this issue Oct 9, 2024 · 1 comment
Open
3 tasks

Error with 3 leagues in read_schedule #715

fmartinmora opened this issue Oct 9, 2024 · 1 comment
Labels
bug Something isn't working wontfix This will not be worked on

Comments

@fmartinmora
Copy link

Describe the bug
Problem to get FA Cup and INT-UEFA Nations League A and B

Affected scrapers
WhoScored

Code example

seasons = list(range(2018, 2025))
ws = sd.WhoScored(leagues="INT-UEFA Nations League B", seasons=seasons)

# in _config.py 

"INT-UEFA Nations League B": {
        "WhoScored": "International - UEFA Nations League B",
    },

Error message

KeyError: "[('INT-UEFA Nations League B', '1920'), ('INT-UEFA Nations League B', '2324')] not in index"

Contributor Action Plan

  • I can fix this issue and will submit a pull request.
  • I’m unsure how to fix this, but I'm willing to work on it with guidance.
  • I’m not able to fix this issue.
@fmartinmora fmartinmora added the bug Something isn't working label Oct 9, 2024
@probberechts
Copy link
Owner

None of these leagues are supported. Feel free to create a PR if you have a fix, but I will not work on this myself.

@probberechts probberechts added the wontfix This will not be worked on label Oct 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants