Метод | Описание | |
---|---|---|
disableCandidateParser ( ) : |
Disable candidates parsing. | |
download ( ) : boolean | Download the HTML content. | |
execute ( $pageContent = '', $recursionDepth ) | Execute the scraper. | |
getEncoding ( ) : string | Get encoding. | |
getFilteredContent ( ) : string | Get filtered relevant content. | |
getParser ( ) : PicoFeed\Scraper\ParserInterface | Get the parser. | |
getRawContent ( ) : string | Get raw content (unfiltered). | |
getRelevantContent ( ) : string | Get relevant content. | |
getUrl ( ) : string | Get URL to download. | |
hasRelevantContent ( ) : boolean | Return true if the scraper found relevant content. | |
prepareHtml ( ) | Normalize encoding and strip head tag. | |
setEncoding ( string $encoding ) : |
Set encoding. | |
setRawContent ( string $html ) : |
Set raw content (unfiltered). | |
setUrl ( string $url ) : |
Set URL to download. |
public disableCandidateParser ( ) : |
||
Результат |
public execute ( $pageContent = '', $recursionDepth ) |
public getFilteredContent ( ) : string | ||
Результат | string |
public getParser ( ) : PicoFeed\Scraper\ParserInterface | ||
Результат | PicoFeed\Scraper\ParserInterface |
public getRawContent ( ) : string | ||
Результат | string |
public getRelevantContent ( ) : string | ||
Результат | string |
public hasRelevantContent ( ) : boolean | ||
Результат | boolean |
public setEncoding ( string $encoding ) : |
||
$encoding | string | |
Результат |
public setRawContent ( string $html ) : |
||
$html | string | |
Результат |