java 如何使用自动脚本从 school9.com 或 manabadi.com 获取结果?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/6305486/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-30 15:17:29  来源:igfitidea点击:

how to get results from schools9.com or manabadi.com using an automaated script?

javawebpage

提问by rt1729

I want to get a list of results from schools9.com or manabadi.com and place them in an excel sheet using an automated script. So to do this using Java, I don't know how to start. Please help me out.

我想从 school9.com 或 manabadi.com 获取结果列表,并使用自动脚本将它们放在 excel 表中。所以要使用 Java 做到这一点,我不知道如何开始。请帮帮我。

回答by alexcoco

If you're going to be parsing HTML from those web pages to get data then you can use JSoupor any other library mentioned here.

如果您要从这些网页解析 HTML 以获取数据,那么您可以使用JSoup此处提到的任何其他库。

Thisthread might have some answers as to how one would generate a .html file or .doc file with Java code. I see that the Apache POI library that Peter Lawrey brought up was mentioned there as well.

线程可能对如何使用 Java 代码生成 .html 文件或 .doc 文件有一些答案。我看到那里也提到了 Peter Lawrey 提出的 Apache POI 库。