GithubHelp home page GithubHelp logo

Comments (3)

c0deless avatar c0deless commented on September 26, 2024

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.

JamesQuintero avatar JamesQuintero commented on September 26, 2024

the espn go site by have change the way data is retrieved, but I will have to check.

from sports-odds-algorithms.

jdougels21 avatar jdougels21 commented on September 26, 2024

Any update on scraping more current data?

from sports-odds-algorithms.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.