Jelloeater / weboutlook

Automatically exported from code.google.com/p/weboutlook
0 stars 0 forks source link

Authorization failed on s.login() #5

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago

>>> s = OutlookWebScraper('https://email.xyz.com', 'pratik', 'password')
>>> s.login()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "owa.py", line 127, in login
    'password': self.password,
  File "owa.py", line 96, in get_page
    opener.addheader(k, v)
  File "C:\Python25\lib\urllib.py", line 192, in open
    return getattr(self, name)(url, data)
  File "C:\Python25\lib\urllib.py", line 432, in open_https
    data)
  File "C:\Python25\lib\urllib.py", line 355, in http_error
    return self.http_error_default(url, fp, errcode, errmsg, headers)
  File "C:\Python25\lib\urllib.py", line 361, in http_error_default
    raise IOError, ('http error', errcode, errmsg, headers)
IOError: ('http error', 401, 'Unauthorized', <httplib.HTTPMessage instance
at 0x00C04
3F0>)

Original issue reported on code.google.com by pratik.p...@gmail.com on 9 Jun 2009 at 1:21