Essence\Crawler::crawl PHP Method

crawl() public method

Extracts embeddable URLs from an HTML source.
public crawl ( string $html ) : array
$html string The HTML source to be extracted.
return array An array of extracted URLs.
    public function crawl($html)
    {
        $Document = $this->_Dom->document($html);
        $urls = $this->_extractUrls($Document);
        return $this->_filterUrls(array_unique($urls));
    }