mercredi 29 mars 2017

Fetching dynamic content from URL in Java

I need to fetch some content from Web page (http://ift.tt/2nB8DnQ) in Java. What I need exactly are live results of currently going tennis matches. The problem is that results, as you can see, load dynamically (after 2 secs after loading a page), so InputStream from HTTPUrlConnection returns only a first version of page (before it loads dynamic content in itself).

Are there any ways to fetch content that's loaded dynamically by webpage after some time? (I'm bad in Web programming so I'm not sure what part of website loads dynamic data - JS or something else). Without any browser emulators, if it possible, of course.

Thank you!




Aucun commentaire:

Enregistrer un commentaire