A focused crawler is a web crawler that collects Web pages that satisfy some specific property, by carefully prioritizing the crawl frontier and managing the hyperlink exploration process.[1] Some predicates may be based on simple, deterministic and surface properties. For example, a crawler's mission may be to crawl pages from only the .jp domain. Other predicates may be softer or comparative, e.g., "crawl pages about baseball", or "crawl pages with large PageRank". An important page property pertains to topics, leading to 'topical crawlers'. For example, a topical crawler may be deployed to collect pages about solar power, swine flu, or even more abstract concepts like controversy[2] while minimizing resources spent fetching pages on other topics. Crawl frontier management may not be the only device used by focused crawlers; they may use a Web directory, a Web text index, backlinks, or any other Web artifact.
A focused crawler must predict the probability that an unvisited page will be relevant before actually downloading the page.[3] A possible predictor is the anchor text of links; this was the approach taken by Pinkerton[4] in a crawler developed in the early days of the Web. Topical crawling was first introduced by Filippo Menczer.[5][6] Chakrabarti et al. coined the term 'focused crawler' and used a text classifier[7] to prioritize the crawl frontier. Andrew McCallum and co-authors also used reinforcement learning[8][9] to focus crawlers. Diligenti et al. traced the context graph[10] leading up to relevant pages, and their text content, to train classifiers. A form of online reinforcement learning has been used, along with features extracted from the DOM tree and text of linking pages, to continually train[11] classifiers that guide the crawl. In a review of topical crawling algorithms, Menczer et al.[12] show that such simple strategies are very effective for short crawls, while more sophisticated techniques such as reinforcement learning and evolutionary adaptation can give the best performance over longer crawls. It has been shown that spatial information is important to classify Web documents.[13]
Another type of focused crawlers is semantic focused crawler, which makes use of domain ontologies to represent topical maps and link Web pages with relevant ontological concepts for the selection and categorization purposes.[14] In addition, ontologies can be automatically updated in the crawling process. Dong et al.[15] introduced such an ontology-learning-based crawler using support vector machine to update the content of ontological concepts when crawling Web Pages.
Crawlers are also focused on page properties other than topics. Cho et al.[16] study a variety of crawl prioritization policies and their effects on the link popularity of fetched pages. Najork and Weiner[17] show that breadth-first crawling, starting from popular seed pages, leads to collecting large-PageRank pages early in the crawl. Refinements involving detection of stale (poorly maintained) pages have been reported by Eiron et al.[18] A kind of semantic focused crawler, making use of the idea of reinforcement learning has been introduced by Meusel et al.[19] using online-based classification algorithms in combination with a bandit-based selection strategy to efficiently crawl pages with markup languages like RDFa, Microformats, and Microdata.
The performance of a focused crawler depends on the richness of links in the specific topic being searched, and focused crawling usually relies on a general web search engine for providing starting points. Davison[20] presented studies on Web links and text that explain why focused crawling succeeds on broad topics; similar studies were presented by Chakrabarti et al.[21] Seed selection can be important for focused crawlers and significantly influence the crawling efficiency.[22] A whitelist strategy is to start the focus crawl from a list of high quality seed URLs and limit the crawling scope to the domains of these URLs. These high quality seeds should be selected based on a list of URL candidates which are accumulated over a sufficiently long period of general web crawling. The whitelist should be updated periodically after it is created.