Jsoup gets dynamically generated HTML

I can connect to most sites and just get HTML, but when I try to connect to a website where most of the content is created after the page is loaded using JavaScript, it does not get any of this data. Is there a way to do this with Jsoup or does it not support it?

+4
source share
1 answer

JSoup includes some basic connection processing, but it is not a web browser. This is superior when parsing static html content. It does not run javascript, so you are out of luck. However, there are other options you can follow:

+5

Source: https://habr.com/ru/post/1531650/


All Articles