A java program to search in a certain website

若如初见. 提交于 2020-01-02 10:07:31

问题


I want to write a Java code to search in a certain website "news paper website". Each result in the website appear in a specified URL. How can I start? Is there a good library to use? Could I benefit from your experience in this field?


回答1:


Search for "web crawler" and you'll find many examples (e.g. Crawler4J or Crawler), how to solve this.

Besides Java, you'll often stumple upon Python when it comes to grepping stuff from web pages - I'm not a Python guy, but it seems to fit for the task.



来源:https://stackoverflow.com/questions/6826858/a-java-program-to-search-in-a-certain-website

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!