You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Players with non-ascii characters in their names give problems with urlopen(name_url) inside NameStandardizer.parse_name(..).
Using quote from urllib.parse seems to solve the problem: from urllib.parse import quote name_url = search_url.format(term=quote(term).replace('%2B','+'))
The text was updated successfully, but these errors were encountered:
Players with non-ascii characters in their names give problems with urlopen(name_url) inside NameStandardizer.parse_name(..).
Using quote from urllib.parse seems to solve the problem:
from urllib.parse import quote
name_url = search_url.format(term=quote(term).replace('%2B','+'))
The text was updated successfully, but these errors were encountered: