/** * Sets the list of html-tags the crawler should search for links in. * * By default the crawler searches for links in the following html-tags: href, src, url, location, codebase, background, data, profile, action and open. * As soon as the list is set manually, this default list will be overwritten completly. * * Example: * <code>$crawler->setLinkExtractionTags(array("href", "src"));</code> * This setting lets the crawler search for links (only) in "href" and "src"-tags. * * Note: Reducing the number of tags in this list will improve the crawling-performance (a little). * * @param array $tag_array Numeric array containing the tags. * @section 6 Linkfinding settings */ public function setLinkExtractionTags($tag_array) { return $this->PageRequest->setLinkExtractionTags($tag_array); }