nba_api
nba_api copied to clipboard
ConnectionRefusedError: [WinError 10061], urllib3.exceptions.NewConnectionError, urllib3.exceptions.MaxRetryError, requests.exceptions.ProxyError
https://stackoverflow.com/questions/67751341/api-connectionrefusederror-winerror-10061-works-on-jupyter-not-pycharm
@robert-loera: Looked at your Stack Overflow question. I'm not certain why you are using a proxy on 127.0.0.1:80 which is your localhost unless you are attempting to somehow try to do something with the traffic. Can you expand your scenario and what proxy you are using? Happy to try to replicate.
I had the same issue and just removed the custom_headers
and proxy
parameters. I believe the issue was following straight from https://github.com/swar/nba_api/blob/master/docs/nba_api/stats/examples.md which included those.