public setLinkExtractionTags($tag_array)
$tag_array | array | Numeric array containing the tags. |
No information |
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:$crawler->setLinkExtractionTags(array("href", "src"));
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).