You can use the DOM parser, for example SimpleHTML , for example:
require_once('simple_html_dom.php');
foreach ($feed->get_items() as $item)
{
$description = $item->get_description();
$desc_dom = str_get_html($description);
$image = $desc_dom->find('img', 0);
$image_url = $image->src;
}
URL- . , , $desc_dom->find('img');
SimpleHTML ,
composer require mgargano/simplehtmldom