Using Java to do a repetitive flight search (with querying and scraping)
April 2, 2011 4:21 PM Subscribe
I'm trying to use the Google App Engine to make a Java program that goes to Southwest.com every six hours, enters in two airport codes (i.e. JFK and LAX) and two dates (i.e. 7/22/2011 and 7/29/2011) into the text fields on that webpage, and parses the HTML of the results page to find and store the lowest price on the page. I need some help getting started.
posted by JamesJD to Computers & Internet (7 answers total) 10 users marked this as a favorite
What's giving me the most trouble isn't the parsing or the scraping, but the text entry and results-page retrieval. Is there some simple tutorial on how to enter something (say, the word "hello") into a text field (say, the search bar on the google.com homepage)?
Is there a simple tutorial on how, after you have sent text inputs to search website X, to download the HTML from results website Y?