Puedes usar por ejemplo las clases
DOM
Código PHP:
Ver original<?php
$doc = new DOMDocument();
$td = $doc->getElementById('img_primary');
$img = $td->getElementsByTagName('img');
echo $img->item(0)->getAttribute('src');
//http://ia.media-imdb.com/images/M/MV5BMTc2MzgwNjAzNV5BMl5BanBnXkFtZTcwNTUyNjQzMQ@@._V1._SY317_CR7,0,214,317_.jpg