擅长:python、mysql、java
<p>尝试使用<a href="http://htmlunit.sourceforge.net/" rel="nofollow noreferrer">HtmlUnit</a>并设置<code>setJavascriptEnabled(true)</code></p>
<p>另请看:<a href="https://stackoverflow.com/a/7344305/639753">this</a>和<a href="http://groups.google.com/group/jsoup/browse_thread/thread/7ed13271e05d52bd?pli=1" rel="nofollow noreferrer">this</a></p>
<p>JSoup不是执行Javascript的无头浏览器,因此必须选择其他库来获取页面,然后才能使用JSoup解析它。在</p>