diff --git a/src/Readability.php b/src/Readability.php index 0c9f44e..dd8f83a 100644 --- a/src/Readability.php +++ b/src/Readability.php @@ -213,7 +213,9 @@ class Readability implements LoggerAwareInterface */ public function init(): bool { - $this->loadHtml(); + if (!isset($this->dom)) { + $this->loadHtml(); + } if (!isset($this->dom->documentElement)) { return false;