开发者

Download Web Page with Resources using Java

Is there any any api available that开发者_Python百科 capture whole java page just like browser save as option does?


I think emulating a browser in your case might be a easy solution (though a bit heavyweight). Look into HtmlUnit.


you can try and have a look at Lobo : http://lobobrowser.org/java-browser.jsp which is a web-based Java browser. They might provide a way for you to just download a whole page with the resources in a directory. Another way could be to use something like Selenium and start a Firefox instance in your java app after you recorded a macro for going to File -> Save As ... etc.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜