Re: [Tutor] traversing page and then following the link

2009-07-24 Thread Emile van Sebille
On 7/24/2009 7:48 AM davidwil...@safe-mail.net said... Hello, I would like to download all the flags from the http://en.wikipedia.org/wiki/Gallery_of_sovereign-state_flags so that I can create a flags sprite from this. You did -- most of the time when you look at a page the files were copie

Re: [Tutor] traversing page and then following the link

2009-07-24 Thread vince spicer
there are many ways to parse html pages and retrieve data, I tend to use lxml and xpath to simplify things and urllib to pull down the data lxml is not a core library but can be installed via easy_install, the main benefit is the xpath support =

[Tutor] traversing page and then following the link

2009-07-24 Thread davidwilson
Hello, I would like to download all the flags from the http://en.wikipedia.org/wiki/Gallery_of_sovereign-state_flags so that I can create a flags sprite from this. The flags seem to follow some order in that all the svg files are in the following pattern: http://en.wikipedia.org/wiki/File:Flag