There's multiple ways to download files from the wayback machine. The default behavior of this application is to rebuild an entire website based on the snapshot url you specified. I first query the
CDX server to get all of the snapshots for your url, this tells me all of the files that exist. Then I download the url you specified and extract all of the links (CSS/JS/Images/pages, etc) found on the page and if they have a snapshot I download it. This is a recursive process until everything has been restored. The end result of this process is a usable website with files you can upload straight to your web server.
I'm putting together some options that will allow you to:
* download exact url - no other files will be downloaded
* include files - only files matching this pattern will be downloaded
* exclude files - files matching this pattern will be excluded
* from timestamp - files archived from this date or earlier will be downloaded
* to timestamp - files archived before this date or later will be downloaded
* limit - limit number of files to download
* list - list all urls archived, does not download
The output directory will be something like this:
./example.com/20060715085250/index.html
./example.com/20051120005053/index.html
./example.com/20051122073441/about.html
Something to keep in mind is all pages on a website might not have a snapshot taken on the same day therefore pages will exist in different directories.
I think this will give you guys extreme flexibility in what you can download. You will be able to rebuild an entire website exactly as it appears on the Wayback Machine if your intent is to upload it a web server as is, or download snapshots of a website where you can then extract the content.
Stay tuned for updates...