Previous code is not correct, commit the right piece of code (The simplest version of Spider, just use for saving web pages from start page to end one).