PPRuNe Forums - View Single Post - Use of curl or wget
View Single Post
Old 15th May 2009 | 02:08
  #1 (permalink)  
davidjohnson6
 
Joined: Sep 2008
Posts: 5,691
Likes: 24
From: Blighty
Use of curl or wget

Anyone out there tried using cURL (or wget / pavuk for that matter) on airline websites ?

If so, any hints about how to get it to work ?
I've managed to get cURL to download a homepage, follow links, have checked the cookie stuff, can send a convincing string to assume the identity of Firefox 3.0.6 but am having trouble posting urlencoded form data (yes, I've gone through the list of form fields) to get a satisfactory result.

I'm not so ambitious as to try to build PHP scripts around it - I'd just like a single (rather long) command line call to cURL to work first !

Comments and suggestions welcome
davidjohnson6 is offline  
Reply