Skip to content Skip to sidebar Skip to footer

Urllib2 Having Trouble Processing Colon Symbol In Url

I am using the API for challonge and their url format is https://username:password@challonge.com/api/ However, when the use urllib2 in python to get this url, response = urllib2.u

Solution 1:

This is because you must use auth handlers like urllib2.HTTPBasicAuthHandler or other. urllib2 docs


Post a Comment for "Urllib2 Having Trouble Processing Colon Symbol In Url"