private function postExtractionCleanup(): self {
        $this->addSiblings($this->article()->getTopNode());

        foreach ($this->article()->getTopNode()->contents() as $node) {
            if ($node->is(self::$CLEANUP_IGNORE_SELECTOR)) {
                if ($this->isHighLinkDensity($node)
                    || $this->isTableTagAndNoParagraphsExist($node)
                    || !$this->isNodeScoreThreshholdMet($this->article()->getTopNode(), $node)) {
                    $node->remove();
                }
            }
        }

        return $this;
    }
private function postExtractionCleanup(): self {
        $this->addSiblings($this->article()->getTopNode());

        foreach ($this->article()->getTopNode()->contents() as $node) {
            if ($node->is(self::$CLEANUP_IGNORE_SELECTOR)) {
                if ($this->isHighLinkDensity($node)
                    || $this->isTableTagAndNoParagraphsExist($node)
                    || !$this->isNodeScoreThreshholdMet($this->article()->getTopNode(), $node)) {
                    $node->remove();
                }
            }
        }

        return $this;
    }
private function postExtractionCleanup ( ) : self { $ this -> addSiblings ( $ this -> article ( ) -> getTopNode ( ) ) ; foreach ( $ this -> article ( ) -> getTopNode ( ) -> contents ( ) as $ node ) { if ( $ node -> is ( self :: $ CLEANUP_IGNORE_SELECTOR ) ) { if ( $ this -> isHighLinkDensity ( $ node ) || $ this -> isTableTagAndNoParagraphsExist ( $ node ) || ! $ this -> isNodeScoreThreshholdMet ( $ this -> article ( ) -> getTopNode ( ) , $ node ) ) { $ node -> remove ( ) ; } } } return $ this ; }
Remove any divs that looks like non-content, clusters of links, or paras with no gusto

@return self
Remove any divs that looks like non - content clusters of links or paras with no gusto