Mechanize A very useful python module for navigating through web forms is Mechanize. In a previous post I wrote about "Browsing in Python with Mechanize". Today I found this excellent cheat sheet on scraperwiki that I would like to share. Create a browser object Create a browser object and give ...
Browsing with Mechanize The mechanize module in Python is similar to perl WWW:Mechanize. It gives you a browser like object to interact with web pages. Here is an example on how to use it in a program. import mechanize br = mechanize.Browser() br.open("http://www.example.com/") Follow second link with element text matching ...