Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有谁知道我可以从 Java 网页获取信息的快速方法?例如,如果我正在查看这样的页面:http ://www.ncbi.nlm.nih.gov/pubmed/?term= 10952317 并且我想提取标题“MeSH 术语”下方的单词列表,我该怎么做呢?
我有一些可以阅读源代码的东西,但它充满了 HTML 标记等......
任何帮助深表感谢!
正如之前在这里无数次提到的那样,看看JSoup,它是一个用于 Java 的 HTML 解析库。或者自己写(不推荐)。
可能TagSoup适合您。