the fastest way would be either
wamp or
xampp they are both one install apache,php,mysql servers easy to use and easy to setup.
Wamp is probably the easiest of the two.
If you want to do this an not tie up your server with a infinite loop "while(1=1)" you should enter the urls to parse into a text file then you just have to check for the end of the file "while(!file.eof)".
A parser like this can get pretty hefty depending on how far you want to go into a site. A nice way to do something like this is create a new connection for each internal link you find on a page. run the parser on each connection then close it as soon as you reach the end of a page. Keep each internal link in an array for that site so you can check to see if you have visited each link and don't go over ones you have already done.
The other way is to only search certain pages for each site and list them in your text file.
If you don't want to use a text file you can store each url in a large array and use a for loop with sizeof(myarray)-1 to go through each link.
Enjoy
Feral