We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I'm trying to get the result after searching from www.skyscanner.net. I try with:
String[] php = loadStrings("http://www.skyscanner.net/flights/edi/lhr/140117/140131/airfares-from-edinburgh-to-london-heathrow-in-january-2014.html");
fill(0);
text(php[753],5,10);
But it gives me only the html tags, without the search result? Any ideas?
Answers
That page needs JavaScript to be activated.
loadStrings()
is really just reading the pure HTML from the address and does not parse it (or run any JS). You either need to find another resource or try to load the page through another station that can run JS (like Phantom.js for example).Thank you fjen. I found a way by reading the json file.