Свойство | Type | Description | |
---|---|---|---|
$_Collection | A collection of providers. | ||
$_Dom | DOM parser. | ||
$_attributes |
Méthode | Description | |
---|---|---|
__construct ( |
Constructor. | |
crawl ( string $html ) : array | Extracts embeddable URLs from an HTML source. |
Méthode | 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. | |
Résultat | array | URLs. |
protected _filterUrls ( array $urls ) : array | ||
$urls | array | URLs to filter. |
Résultat | array | Filtered URLs. |
protected Collection,Essence\Provider $_Collection | ||
Résultat |
protected Native,Essence\Dom\Document\Factory $_Dom | ||
Résultat |