如何下载Java依赖项的网页? [英] How can I download web page with dependencies in Java?

查看:55
本文介绍了如何下载Java依赖项的网页?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何下​​载具有Java代码依赖关系的网页,以便其以本地方式呈现为在线方式?(不包括Ajax).我听说wget可以做到这一点,但是我正在寻找一些可以做到这一点的java代码.

How can I download web page with dependencies in Java-code so that it renders the same way locally as online? (Excluding Ajax). I've heard that wget can do this, but I'm looking for some java-code that can do the same.

谢谢.

推荐答案

以下是(开放源代码)网络爬虫的列表: http://java-source.net/open-source/crawlers ,您可以用来执行此操作,也可以查看代码以查看如何完成.

Here's a list of (open source) web crawlers: http://java-source.net/open-source/crawlers which you can either use to do this, or can peek at the code to see how it can be done.

这篇关于如何下载Java依赖项的网页?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆