agent = Mechanize.newpage = agent.get url...page.body以上有的时候中文会出现乱码 xE8\xB5\x9B\xE7\xA6\x8F\xE5\xA4\xpage.parser.text 可以解决这个问题