What I’m trying is to receive some data off a website which is being refreshed once a second.
I’ve been thinking about making use of meta tags, but somehow there aren’t any on the website.
I’ve heen thinking about timers and handlers, but then i would have to refresh the whole site, only to receive the updated data, which is located at the top of the html document. That would cause a lot of traffic.
Is there a way to only refresh a part or even only an element of a page? And if so, how? Currently I’m using jsoup to get data from a document.
If the website is not under your responsibility, and hasn’t provided any API or URL used to only get the part of the page you’re interested into, then you don’t have any other choice: the web page must be reloaded completely. That’s how the web works.