Skip to content
This repository was archived by the owner on Apr 25, 2023. It is now read-only.
This repository was archived by the owner on Apr 25, 2023. It is now read-only.

sports.errors.SportError: Sport not found for <sport> #9

@rajshankarm1213

Description

@rajshankarm1213

I wished to try out this package and would like to try to implement it in a personal project but when I tried running some test inputs I keep getting this error message.

sportspytroubleshooting1

Here I tried to get all live matches currently. I checked scorespro (the site that this package is using to get XML data) and there are some live matches going on in basketball (I didn't check every sport, I wanted to make sure there was at least one live match ongoing) and this error gets thrown for baseball (I'm assuming it checks alphabetically and the error got thrown as soon as it came across baseball and didn't even reach the remaining sports.)

sportspytroubelshooting2

For the second test input, I tried to get the match object for a match, this one in particular. I got a similar error thrown but it was specifically for soccer this time. Could you look into this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions