Comments (3)
hello , have a bit of an issue , "17:53:36] User chose ['bkn', 'brooklyn-nets']
Current season year: 2019
[17:53:43] Scraping game scores from http://espn.go.com/nba/team/schedule/_/name/bkn/year/2019/seasontype/2/brooklyn-nets
[17:53:46] scrape_game_scores(): (<class 'ValueError'>, 'espn_scraper.py', 351)
[17:53:46] 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 "/root/Sports-Odds-Algorithms/odds_calculator.py", line 48, in single_team_analysis
self.espn_scraper.update_data(team, cur_year)
File "/root/Sports-Odds-Algorithms/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
root@c0ldhoney:~/Sports-Odds-Algorithms#
"
from sports-odds-algorithms.
the espn go site by have change the way data is retrieved, but I will have to check.
from sports-odds-algorithms.
Any update on scraping more current data?
from sports-odds-algorithms.
Related Issues (3)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sports-odds-algorithms.