Get a link to an image

help with getting a link to the image. I’ve tried a bunch of options, including those given to me by artificial intelligence. I can’t get the link in any way

<div class="vitem-poster" style="background-image: url(/thumbs_320/37/cb/37cbbcc9dfd1d0bfa0a07e57a3ae7ba6/15969281.jpg);"></div>

please edit the code
document.getElementsByClassName(“vitem-poster”)[0].style;

my question is closed. The artificial intelligence gave me an ideal solution

Please share the solution here for others which might have the same question in future

Taifun