Continue Python 3 updates, including:
-urllib.urlencode -> urllib.parse.urlencode
-urllib.request.urlopen(args).read() -> urllib.request.urlopen(args).read().decode('utf8')
-urllib.request.urlopen(args).info().maintype -> urllib.request.urlopen(args).info().get_content_maintype()