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

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

Open
rajshankarm1213 opened this issue Nov 6, 2020 · 2 comments
Open

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

rajshankarm1213 opened this issue Nov 6, 2020 · 2 comments
Labels

Comments

@rajshankarm1213
Copy link

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?

@rajshankarm1213 rajshankarm1213 changed the title sports.error.SportError: Sport not found for sports.error.SportError: Sport not found for <sport> Nov 6, 2020
@rajshankarm1213 rajshankarm1213 changed the title sports.error.SportError: Sport not found for <sport> sports.errors.SportError: Sport not found for <sport> Nov 6, 2020
@saxenaaditya12
Copy link

I have got exactly the same error as well, please provide a solution for the same

@evansloan evansloan added the bug label Nov 25, 2020
@evansloan
Copy link
Owner

Unfortunately it looks like scorespro.com no longer allows requests to their XML data feed without some sort of paid plan. I'll keep the issue open in case I find a way to fix this issue. But is it stands, there is nothing I can do at the moment.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants