find('#root > div > div > div > div > div > a') as $element) { if ($element->href === 'https://snacks.robinhood.com/newsletters/page/2/') { continue; } $this->items[] = array( 'uri' => $element->href, 'title' => $element->find('div > div', 3)->plaintext, 'content' => $element->find('div > div', 4)->plaintext, ); } } }