-
Notifications
You must be signed in to change notification settings - Fork 31
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 , dose it work well now? #2
Comments
hello , have a bit of an issue , "17:53:36] User chose ['bkn', 'brooklyn-nets'] |
the espn go site by have change the way data is retrieved, but I will have to check. |
Any update on scraping more current data? |
[18:30:21] User chose ['gs', 'golden-state-warriors']
Current season year: 2018
[18:30:25] Scraping game scores from http://espn.go.com/nba/team/schedule/_/name/gs/year/2018/seasontype/2/golden-state-warriors
[18:31:58] scrape_game_scores(): (<class 'ValueError'>, 'espn_scraper.py', 351)
[18:31:58] Loading existing data
Traceback (most recent call last):
File ".\sports_bettor.py", line 366, in
sports_better.single_team_analysis()
File ".\sports_bettor.py", line 89, in single_team_analysis
odds_calculator.single_team_analysis(league_teams[choice])
File "C:\Users\HiTler\Desktop\Sports-Odds-Algorithms-master\odds_calculator.py", line 48, in single_team_analysis
self.espn_scraper.update_data(team, cur_year)
File "C:\Users\HiTler\Desktop\Sports-Odds-Algorithms-master\espn_scraper.py", line 174, in update_data
for y in range(0, len(existing_data['game_scores'])):
TypeError: list indices must be integers or slices, not str
The text was updated successfully, but these errors were encountered: