mechanize icon indicating copy to clipboard operation
mechanize copied to clipboard

RuntimeError: maximum recursion depth exceeded while calling a Python object

Open romanrdgz opened this issue 11 years ago • 0 comments

I just discovered mechanize, and wanted to use it to search for train tickets at www.renfe.com. I just did this:

import mechanize

br = mechanize.Browser() br.set_proxies({"http":"http://myproxy.com:80"}) response = br.open("http://www.renfe.com/") print response.read()

And I'm getting RuntimeError: maximum recursion depth exceeded while calling a Python object at the br.open line.

I'm using an enterprise proxy, but I'm afraid this is related with renfe.com being such a bad formatted website. Anyway I thought you should check in order to get mechanize more robust.

romanrdgz avatar Aug 29 '13 10:08 romanrdgz