I am currently writing an Android application that, among other things, uses textual information from sites that I donโt have. In addition, some pages require authentication.
For some pages, I was able to log in and get the html code using BasicNameValuePairs and HTTPClient with the objects associated with it.
Unfortunately, these methods extract the source of the web page without performing any javascript functions that usually launch the browser (Android Webview). I need text that some of these scripts extract.
I did my research, but all I found was speculation and extremely confusing. I'm fine, ignoring pages that require a login. In addition, I am ready to publish any code that may be useful for constructing a solution; This is an independent project.
Any specific solutions to clear the html result from javascript calls? The example will be absolutely first-class.
bhekman
source share