py-Goldsberry
py-Goldsberry copied to clipboard
Python 3
Latest update of Goldsberry is not compatible with Python 3.
I am getting an error like this:
line 40, in _get_nba_data pull_url = cgi.urlparse.urljoin(base_url, self._url_modifier) AttributeError: module 'cgi' has no attribute 'urlparse'
Is this the Python 3 problem mentioned above?
Looks like it. Reviewing the docs at https://docs.python.org/3/library/cgi.html you can see urlparse is no longer supported. If you find a suitable work around, feel free to create a PR
thanks for the quick response Daniel. will take a look
isnt urlparse just renamed to urllib.parse ?
does anyone use it in 2018-10-10 11:26:45 in python3? i just get the raise