Traceback (most recent call last):
File "/repo/scraper.py", line 21, in <module>
login(url)
File "/repo/scraper.py", line 8, in login
browser.open(url)
File "/usr/local/lib/python2.7/dist-packages/mechanize/_mechanize.py", line 203, in open
return self._mech_open(url, data, timeout=timeout)
File "/usr/local/lib/python2.7/dist-packages/mechanize/_mechanize.py", line 255, in _mech_open
raise response
mechanize._response
.
httperror_seek_wrapper
:
HTTP Error 403: request disallowed by robots.txt