如何使用 jsoup 提取维基百科文章中的特定链接?
我正在做一个 NLP 项目,我需要知道如何提取仅位于此 wikipidia 页面的“简介”部分和“地理”部分中的链接: http://en.wikipedia.org/wiki/Boston
你能帮我吗?
I am doing an NLP project and I need to know how to extract links that only are in the "introduction" section and in the "geography" section of this wikipidia page: http://en.wikipedia.org/wiki/Boston
Could you please help me?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
维基百科并没有让这变得容易。我并不认为这是优雅的,甚至不是非常可重用的。
Wikipedia does not make this easy. I don't claim this to be elegant or even very reuseable.