Comments (2)
scrape_date_range was fixed, but same error in functions scrape_game and scrape_season:
Traceback (most recent call last):
File "", line 1, in
File "C:\Users****\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\nba_scraper\nba_scraper.py", line 76, in
def scrape_game(game_ids, data_format='pandas', data_dir=f"{os.environ['HOME']}/nbadata.csv"):
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.7_3.7.1520.0_x64__qbz5n2kfra8p0\lib\os.py", line 679, in getitem
raise KeyError(key) from None
KeyError: 'HOME'
from nba_scraper.
Closing issue was fixed with commit 7e9ccd6
from nba_scraper.
Related Issues (16)
- Playoff Games: List Index Out of Range HOT 2
- Refactor Code HOT 1
- Add functionality for all NBA season on API HOT 1
- get_date_games function not pulling games before game id 021800110 HOT 3
- Error scraping game 21800053 HOT 1
- Unable to scrape game 0021600559
- Invalid literal in get_lineup HOT 2
- `nba_scraper` hangs at scrapetime
- Issue scraping game 0029900026
- Issues with 19/20 season, game id 0020200577 HOT 8
- Fix bugs in WNBA Scraper
- Write tests for WNBA functions
- I tried to scrape one season but it got stuck after five games HOT 5
- Issue with scrape_date_range on 1/27/21 HOT 1
- Getting a JSONDecodeError HOT 1
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 nba_scraper.