Flight search automation

mkPyVS mikeminer53 at hotmail.com
Fri Jun 23 20:19:47 CEST 2006


If you look at the <<TRAVELOCITY>> generated HTML @Travelocity

**Snippet
    function on_load()
    {
      var finurl = "AirSearch.do?SEQ=11510863338485232006";
      window.location.replace(finurl);
**
It is basically a re-direct.. you should be able to re-request an HTTP
to the base path from the original query w/ your new URL for the
session result.
Base URL= http://travel.travelocity.com/flights
So now you would request
http://travel.travelocity.com/flights/AirSearch.do?SEQ=11510863338485232006

George Sakkis wrote:
> mkPyVS wrote:
>
> > Is there an http page redirect call to the client once the java
> > releases it's wait que?
>
> Sorry, I've no idea.. not even sure if they use java or whether this
> matters. Can you guess by trying, say, http://www.travelocity.com/ ?
> Expedia and Orbitz have also a waiting page, hopefully I can figure
> them out once I have one working.
>
> George
>
> > George Sakkis wrote:
> > > I'm trying to use mechanize to fill in a "find a flight" form and then
> > > get back the results, but I'm not sure how to make it wait until the
> > > results page appears; the response after submitting the form is the
> > > "please wait while we are searching for your flights" page. Any ideas ?
> > > 
> > > George




More information about the Python-list mailing list