Currently, I am utilizing jsoup
for parsing HTML content from a website. The issue I am facing is related to two option lists that are generated dynamically from a multidimensional array within a JavaScript file. Due to the dynamic nature of these lists, jsoup
is unable to parse the results in HTML. However, all the necessary data can be found in the JS file. My objective is to periodically load this file and store or update the array data from it into a local database within an Android application. The specific JS file involved can be accessed through this link: here. For reference, the webpage showcasing the lists can be viewed here: here. Is there a viable method to selectively download certain parts of this file for manipulation in Java, similar to handling a DOM in HTML?