Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

download a complete web page including resources (like images) in java

is there a way to download (html) web page and all it's resources (eg: images,CSS).

I know how to do this using a html parser, by going through all the relevant tags, but isn't there a easy way?

like image 602
Manu Avatar asked Nov 14 '22 05:11

Manu


1 Answers

That is the easy way.

The hard way is to write your own network libraries, html parser etc...

like image 69
Oded Avatar answered Nov 17 '22 07:11

Oded