--- robotparser.py.orig Sun Sep 28 08:50:44 2003 +++ robotparser.py Sun Sep 28 08:54:44 2003 @@ -233,6 +233,11 @@ urllib.FancyURLopener.__init__(self, *args) self.errcode = 200 + def prompt_user_passwd(self, host, realm): + ## If robots.txt file is accessible only with a password, + ## we act as if the file wasn't there. + return None, None + def http_error_default(self, url, fp, errcode, errmsg, headers): self.errcode = errcode return urllib.FancyURLopener.http_error_default(self, url, fp, errcode,