簡體   English   中英

使用jsoup從表中提取內容

[英]Extract the content from the table using jsoup

我正在嘗試解析以下頁面。

Document doc = Jsoup.connect(“http://www.informatik.unitrier.de/~ley/pers/hd/h/Han:Jiawei.html“).get();

我需要提取第一張表的內容,僅是作者姓名及其出版物。 但是我只需要從1986年到2012年的表內容。jsoup中可能的語法是什么?

任何幫助將不勝感激 。

該網站的數據使用的是javascript ,因此無法使用jsoup進行解析。

我在此答案中列出了一些替代方法: 嘗試解析javascript隱藏的html

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM