![]() ![]() It should return the source code when called upon. If at all possible, I should have a method called 'grabPageSource()' that returns a String. I figured it was that I wasn't grabbing the JavaScript or letting the JavaScript execute first, but even though I waited for it to load in my code, I would only always get the same result. ![]() Not to mention that there is no personalized data in the code, which is what I'm looking for. Specifically, I would like to grab the Station names from a site such as I have attempted using the selenium library and the built in URL getter in Java, but I only get ~4700 lines of code when I should be getting 5300. With this expansion new dangers and opportunities enter the world of Pandora. The player leads his chosen human faction over multiple centuries on a newly discovered earth-like planet into an unknown future. My ultimate goal is to parse the 'Stations' from a Pandora account. Eclipse of Nashira is an expansion for Pandora: First Contact, a science-fiction turn-based strategy game of epic scale. I have done it with and tested it on other sites. Now, I know how to download webpage HTML source code with Java. I'm trying to download HTML with Java to match what I get when I select 'view page source' from the context menu of the webpage in Chrome. ![]()
0 Comments
Leave a Reply. |