Non-standard URL for Python urllib2.urlopen
I am using
to retrieve HTML pages. It require a standard "http://www.blahblahblah.com" syntax in order to work. However, sometimes the url input may be in the form of "www.blahblahblah.com" or "blahblahblah.com", which should be able to work in web browser but not urllib2.urlopen. My question is: Are there a simple way to convert these non-standard URLs to the standard ones? Thanks. ...