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

AttributeError #70

Closed
Chealol opened this issue Jan 30, 2023 · 2 comments · Fixed by #71
Closed

AttributeError #70

Chealol opened this issue Jan 30, 2023 · 2 comments · Fixed by #71

Comments

@Chealol
Copy link

Chealol commented Jan 30, 2023

An error occurred: Expecting value: line 1 column 1 (char 0)
Traceback (most recent call last):
File "main.py", line 106, in
main()
File "main.py", line 62, in main
odds = SbrOddsProvider(sportsbook=args.odds).get_odds()
File "/content/src/DataProviders/SbrOddsProvider.py", line 13, in init
self.games = Scoreboard(sport="NBA").games
AttributeError: 'Scoreboard' object has no attribute 'games'

Not sure, what seems to be going on?

Has the "sbrscrape" library changed and the "games" attribute is no longer available?
Or Is there a mistake in the import statement or in the use of the library?

@doctorerre
Copy link

doctorerre commented Jan 30, 2023

happening to me too, it seems that i will have to put the odds manually like the old school method xd

@doctorerre
Copy link

image

@kyleskom kyleskom reopened this Jan 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants