addLink

addLink ( string link , int _depth ) : void

Add a link to visit

Example



moreUrls = ["url1","url2","url3"] // Additionnal urls
for(url in moreUrls)
{
addLink(url) //they will be crawled
}

Parameters

link

Link to add to visit.

_depth (optional)

Have an impact because it can be a maximal depth. It is the depth in comparaison with the home page. If _depth is lower than 0, the depht apply will be the depth of the current page and not currentDepth+1.