A computer-implemented method for determining a prerequisite page for a page while checking, in an automated manner, page links associated with a site domain that was previously crawled, the method comprising:
- retrieving, from crawler storage, information that indicates whether or not retrieving the page requires setting request information by retrieving a prerequisite page, wherein the information identifies one or more ancestor pages that were retrieved prior to retrieving the page during a previous crawl and the order in which the one or more ancestor pages were retrieved, and wherein retrieving the prerequisite page causes information required for retrieving the page to be retrieved;
- if the page requires setting request information by retrieving a prerequisite page, then
- (a) retrieving a first ancestor page, wherein the first ancestor page is the ancestor page that was retrieved immediately prior to retrieving the page during the previous crawl;
- (b) after performing step (a), retrieving the page;
- (c) determining whether the page is dead or alive;
- (d) if the page is alive, then determining that the first ancestor page is a prerequisite page for the page;
- and
- (e) if the page is dead, then retrieving a second ancestor page, wherein the second ancestor page is the ancestor page that was retrieved immediately prior to retrieving the first ancestor page during the previous crawl, and repeating steps (b), (c) and (d) for the second ancestor page and, if necessary, repeating step (e) for the next ancestor page in the order;
- wherein the method is performed by one or more computing devices comprising one or more processors.