dose any one know how to pull the images from the new imdb layout?
i managed to get votes working
Code:
/** Setup votes
* @method private rate_vote
*/
private function rate_vote() {
if ($this->page["Title"] == "") $this->openpage ("Title");
if (preg_match('!<span itemprop="ratingValue">(\d{1,2}\.\d)!i',$this->page["Title"],$match)){
$this->main_rating = $match[1];
} else {
$this->main_rating = 0;
}
if (preg_match('#itemprop="ratingCount"[^>]*>(.*)</span>#U',$this->page["Title"],$match)){
$this->main_votes = $match[1];
}else{
$this->main_votes = 0;
}
}