I am writing a screen scraper script in python with module \'mechanize\' and I would like to use the mechanize.click_link() method on a link that has javascript:__doPostBack
I don't think mechanize supports Javascript; to scrape pages which intrinsically rely on Javascript execution for their functionality, you may need to use a different tool, such as Selenium RC.