java - Notify when web content change -


I'm new to Java and working on a simple application that monitors a URL and when a table Notify me if updates new things Viewing the entire page will not work because the ads are changed all the time and they give false positivity.

My idea was to bring the URL line from the line in search of elements. For each element, I want to see that the element is already in an array list. If the element is not added to the array list and the notification is sent.

The support I need is not the exact code, but advice if this is a good way and if I have an array array of elements or if I should use a file, because in each element the text

"text">

To check the site, it will probably be more stable to parse the HTML and the dom's object presentation Area will work with. I have never had to do this, but in the suggestions suggested by another user, maybe you can take a look at it.

To store information (which you currently do in your archieist): It really depends on what you use for your application. If you just want to get the information about the changes that occur during the runtime of your program then it is absolutely fine. If you want to continue with the information, you should get a way to store information in the file system or database.

Comments

Popular posts from this blog

Java - Error: no suitable method found for add(int, java.lang.String) -

java - JPA TypedQuery: Parameter value element did not match expected type -

c++ - static template member variable has internal linkage but is not defined -