mechanize是非常合适的模拟浏览器的模块 http://www.360doc.com/content/12/0326/00/9369336_197703614.shtml http://wwwsearch.sourceforge.net/mechanize/ http://www.ibm.com/developerworks/cn/linux/l-python-mechanize-beautiful-soup/