Свойство | Тип | Описание | |
---|---|---|---|
$_Collection | A collection of providers. | ||
$_Dom | DOM parser. | ||
$_attributes |
Метод | Описание | |
---|---|---|
__construct ( |
Constructor. | |
crawl ( string $html ) : array | Extracts embeddable URLs from an HTML source. |
Метод | Описание | |
---|---|---|
_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. | |
Результат | array | URLs. |
protected _filterUrls ( array $urls ) : array | ||
$urls | array | URLs to filter. |
Результат | array | Filtered URLs. |
protected Collection,Essence\Provider $_Collection | ||
Результат |
protected Native,Essence\Dom\Document\Factory $_Dom | ||
Результат |