Traceback (most recent call last):
File "t.py", line 51, in <module>
items = xunlei_obj.dashboard()
File "/tmp/xunlei/xunlei.py", line 188, in dashboard
self.login()
File "/tmp/xunlei/xunlei.py", line 145, in login
response = self.request('http://login.xunlei.com/check?u=%s&cachetime=%s' % (self.username, get_cache()))
File "/tmp/xunlei/xunlei.py", line 121, in request
response = br.open(url, data)
File "/Library/Python/2.7/site-packages/mechanize/_useragent.py", line 443, in open
response = UserAgentBase.open(self, fullurl, data)
File "/Library/Python/2.7/site-packages/mechanize/_opener.py", line 206, in open
response = meth(req, response)
File "/Library/Python/2.7/site-packages/mechanize/_urllib2_fork.py", line 467, in http_response
'http', request, response, code, msg, hdrs)
File "/Library/Python/2.7/site-packages/mechanize/_opener.py", line 230, in error
return apply(self._call_chain, args)
File "/Library/Python/2.7/site-packages/mechanize/_urllib2_fork.py", line 340, in _call_chain
result = func(*args)
File "/Library/Python/2.7/site-packages/mechanize/_urllib2_fork.py", line 489, in http_error_default
raise response
urllib2.HTTPError: HTTP Error 404: Not Found