find('img.img_full') as $img){ if ($img->alt == $item['title']){ $article_image = self::URI . $img->src; break; } } $article_content = ''; if($article_image){ $article_content = '
'; } $article_content .= str_replace( 'src="/', 'src="' . self::URI, $article_html->find('div.newsGenerique_con', 0)->innertext ); $article_content = $this->stripWithDelimiters($article_content, '