[Wolves] Ryanair web page ripper

Simon Morris simon.morris at cmtww.com
Mon Sep 4 17:03:19 BST 2006


On Mon, 2006-09-04 at 16:43 +0100, Wayne Morris wrote:
> Hi guys,
> 
> This isn't necesarily a Linux question, but it seems a good place as
> any
> to start.
> 
> Cheap air flight companies like Ryanair don't tell you when the
> cheapest
> flights are, they expect you to pick a date then step forward or
> backwards
> day by day checking prices one by one.
> What would be really useful would be a bit of code that would strip
> out
> the price from a page, then say 'next day' and then get the new page
> and
> then build
> a table of results for a couple of months.
> 
> Any ideas how to get started with this?

I've written a tool to pull down webpages and parse values from forms,
submit forms back and so on.

You need to look at Pythons urllib2 and ClientForm libraries - Looking
at the RyanAir site it might not be easy though.

Thanks

~sm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://mailman.lug.org.uk/pipermail/wolves/attachments/20060904/f2f866f8/attachment.bin


More information about the Wolves mailing list