On Thu, Sep 15, 2011 at 3:31 PM, Saju M <sajup...@gmail.com> wrote: > I also tried to change google search location through > http://www.google.co.in/preferences?hl=en#loc , but getting error > mechanize._response.httperror_seek_wrapper: HTTP Error 404: Not Found
Mechanize does not support any action done via Javascript and there seems a javascript call involved in setting the location there. Turn Javascript off in your browser and try to change the location. You will notice that it throws errors. Perhaps it is the same which is happening when accessed via mechanize. BTW, do you really need mechanize for the task that you are trying to do? Would not their AJAX API (http://code.google.com/apis/websearch/docs/#fonje_snippets ) help you to accomplish the same with lesser hassle ? (at least until they retire it :)) --- Senthil _______________________________________________ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers