py-Goldsberry icon indicating copy to clipboard operation
py-Goldsberry copied to clipboard

Python 3

Open danielmcintosh1 opened this issue 8 years ago • 5 comments

Latest update of Goldsberry is not compatible with Python 3.

danielmcintosh1 avatar Mar 07 '16 01:03 danielmcintosh1

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?

lutmingman avatar May 06 '18 15:05 lutmingman

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

danielmcintosh1 avatar May 06 '18 15:05 danielmcintosh1

thanks for the quick response Daniel. will take a look

lutmingman avatar May 06 '18 16:05 lutmingman

isnt urlparse just renamed to urllib.parse ?

Nussio777 avatar Aug 07 '18 22:08 Nussio777

does anyone use it in 2018-10-10 11:26:45 in python3? i just get the raise default

Odinidoer avatar Oct 10 '18 03:10 Odinidoer