Get image URL inside an element from external website – Laravel

As the problem I’ve mentioned here. I’m going to try alternative way of getting an image url. I want to get the product image url from and if you inspect the product image it can be access inside a <figure></figure> element. I did some reseach and wrote this code to get content from an external webpage. But it didn’t return anything.