S
S
SM09E2014-06-26 10:17:43
Java
SM09E, 2014-06-26 10:17:43

How to parse HTML page with content autoload using java?

I need to parse a page, getting access to all the records on it. Of the source data, there is only a link to the page. Site search is possible, but we don't know what to look for. When the page loads, only part of the entries is displayed. Adding entries occurs by adding them to the html code (most likely through javascript), called when scrolling to the end of the page. An example is the vk.com wall. How can I access loadable content using java?
There are no problems directly with parsing. It will be enough to direct me where to move, or an API that can be used.
Java version 1.6.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Z
Zetyara, 2014-06-26
@SM09E

Use curl. If the content is loaded ajax, send a request to the url on which it accesses and parse the resulting content.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question