Property | Type | Description | |
---|---|---|---|
$_Collection | A collection of providers. | ||
$_Dom | DOM parser. | ||
$_attributes |
Method | Description | |
---|---|---|
__construct ( |
Constructor. | |
crawl ( string $html ) : array | Extracts embeddable URLs from an HTML source. |
Method | Description | |
---|---|---|
_extractUrls ( |
Extracts URLs from the given DOM document. | |
_extractUrlsFromtags ( |
Extracts URLs from tag attributes. | |
_filterUrls ( array $urls ) : array | Filters the given URLs to return only the extractable ones. |
public __construct ( |
||
$Collection | Providers collection. | |
$Dom | DOM parser. |
protected _extractUrls ( |
||
$Document | Document. | |
return | array | URLs. |
protected _filterUrls ( array $urls ) : array | ||
$urls | array | URLs to filter. |
return | array | Filtered URLs. |
protected Collection,Essence\Provider $_Collection | ||
return |
protected Native,Essence\Dom\Document\Factory $_Dom | ||
return |