mardi 7 avril 2015

Extracting data from a website in java using jsoup

i would really like some tips in reading data of a website in java. The website is this http://ift.tt/1xXbFUe and it is about bus destinations and arrivals. I have managed to read the destinations (the top right widget) into a combobox and then get the url that the website goes to into an other combobox. I have done using google's chrome view source code option, so it's not a big deal. When i pick my destination and the site redirects me to the new page, i want to read the new informations so i choose view source code and for a weird reason the source code is the same as in the start page so i cannot read the new data ( arrivals and departures ). On the other hand, i can see the data through inspect element from chrome/mozilla but i have no way using these infos in java. So the question is how am i going to read the data of a subpage? Thanks a lot for your time





Aucun commentaire:

Enregistrer un commentaire