通过 jsoup 我谷歌查询某些请求并保存输出 url。我还想为我找到的每个网址保存创建(或修改)的日期,我该怎么做?我的代码来自http://www.mkyong.com/java/jsoup-send-search-query-to-google/ 。
我是否必须输入每个网址才能提取修改日期?
编辑: 我获取这样的网页的创建修改日期:
Connection.Response con= Jsoup.connect("http://www.example.ex")
.userAgent("Mozilla")
.ignoreContentType(true)
.timeout(5000)
.execute();
System.out.println("Date= " + con.header("Last-Modified"));
那么如何使用 jsoup 从 google-query 中找到多个日期创建的网站,而无需遍历每个查找 url。