I trying to extract an HTML from URL with Jsoup, but during the extraction appear a script code into a div tag. Checking the HTML with the "inspect", I see only HTML tag. How can I extract only the HTML tags as result of script?
With the inspect I see:
<div class="container__fsbody" id="fsbody">
<div id="live-table"><div class="tabs"><div class="tabs__group"><div class="tabs__tab selected">
....
With the Jsoup extraction I see:
<div class="container__fsbody" id="fsbody">
<div id="live-table">
<script>
document.body.classList.toggle("loading", true);
</script> <span class="loadingOverlay">
<div class="loadingAnimation">