title: user authentication for whois.domaintools.com python script
body: <p>i am trying to develop python script to get hosting company info from domaintools.com, below is my script. somthing wrong with this authentication part it returns 403 error. </p>
  
  <pre><code>domain_tools_url = 'https://secure.domaintools.com/log-in/'
  username = 'username@gmail.com'
  password = 'password'
  sys.path.append("./BeautifulSoup")
  
  passman = urllib2.HTTPPasswordMgrWithDefaultRealm()
  passman.add_password(None, domain_tools_url, username, password)
  authhandler = urllib2.HTTPBasicAuthHandler(passman)
  opener=urllib2.build_opener(authhandler, urllib2.HTTPHandler(debuglevel=0))
  opener.addheaders = [('User-agent', 'Mozilla/5.0')]
  url = "http://whois.domaintools.com/62.75.xxx.xxx"
  page = opener.open(url)
  </code></pre>
  
  <p>can i know how to fix this issue,</p>
  
  <p>Thanks in advance :)</p>