I'd like to download all of the files in a particular directory at a known URL. The names of the files won't necessarily be known, but their names will all contain a common keyword, and will have the same extension (.xml).
Is there an equivalent of "os.walk" for urllib2, such that I can simply walk through whatever files exist in the directory and open them for parsing?
The only examples of this I have seen online involve a a file of known name which contains a list of all the filenames in the directory. I do NOT want to do this...
Other possibly relevant info: The files are on an apache server, and they are publicly accessible.