PicoFeed\Scraper\CandidateParser::execute PHP Метод

execute() публичный Метод

Get the relevant content with the list of potential attributes.
public execute ( ) : string
Результат string
    public function execute()
    {
        $content = $this->findContentWithCandidates();
        if (strlen($content) < 200) {
            $content = $this->findContentWithArticle();
        }
        if (strlen($content) < 50) {
            $content = $this->findContentWithBody();
        }
        return $this->stripGarbage($content);
    }