Processing websites with java

Today in less than an hour I managed to make a program that reads the user input, which should be a valid URL. Then it can give you the number of pages that the link has, the html code in the console or make a new html file and save the html code there. I should also give all the links that the site has, but I wasn’t able to do this properly in the given time and it was only returning the whole html line in the source code. However I will continue the work later and make that function work. I used eclipse IDE and a lot of internet browsing in order to make the program work.

Here’s a link to my repository and the working java program: https://github.com/powerworr/TP/tree/master/C14

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s