Deckcheck project -- programmer help wanted

OK, this is a cross-platform idea. I want to do it for BotArena, but the file formats are similar enough to make it work for Forge as well.
Basically, the idea is to trawl the site http://www.deckcheck.net which has tens of thousands of decks, and add to Forge (or BotArena) those that are supported by the program. I plan to use Erasthotenes sieve algorithm - check for all decks containing a given unimplemented card, moving them away, checking the rest for next card, etc.
There's a hitch, though: in order to do this, I need to download all the decks. It would be best with all of them, as that lets me check them all at once. But there's over 36000 of them, far too many to reasonably click on. This is why I need a help from a programmer. I need an application that would do the following:
1. For all numbers between X and Y, visit the page http://www.deckcheck.net/export.php?deck=<number>&type=txt
2. This leads to a save dialog. Save the file, but prepend the filename with "deckcheck_<number>_" so they would get sorted and there wouldn't be any duplicate names.
3. Save all the files to the same directory.
If someone can make such an application or knows about one that can already do this, I can sieve the decks and find those that will work in Forge. I can even download the new decks and give you new ones when new cards are implemented if you want.
If someone wants to make an automatic sieve, he's certainly welcome to, but it's not required for starters. Getting the files will be enough for now.
Though, in case of Forge, an automatic header-maker would probably be useful as well
BotArena requires only minimal editing. Is there a tool that can do "search and replace" automatically in all files within a directory?
Basically, the idea is to trawl the site http://www.deckcheck.net which has tens of thousands of decks, and add to Forge (or BotArena) those that are supported by the program. I plan to use Erasthotenes sieve algorithm - check for all decks containing a given unimplemented card, moving them away, checking the rest for next card, etc.
There's a hitch, though: in order to do this, I need to download all the decks. It would be best with all of them, as that lets me check them all at once. But there's over 36000 of them, far too many to reasonably click on. This is why I need a help from a programmer. I need an application that would do the following:
1. For all numbers between X and Y, visit the page http://www.deckcheck.net/export.php?deck=<number>&type=txt
2. This leads to a save dialog. Save the file, but prepend the filename with "deckcheck_<number>_" so they would get sorted and there wouldn't be any duplicate names.
3. Save all the files to the same directory.
If someone can make such an application or knows about one that can already do this, I can sieve the decks and find those that will work in Forge. I can even download the new decks and give you new ones when new cards are implemented if you want.
If someone wants to make an automatic sieve, he's certainly welcome to, but it's not required for starters. Getting the files will be enough for now.
Though, in case of Forge, an automatic header-maker would probably be useful as well
