private function populatePoster() { preg_match('!<img [^>]+src="([^"]+)"[^>]+itemprop="image" />!ims', $this->getPage("Title"), $match); if (empty($match[1])) { return false; } $this->main_poster_thumb = $match[1]; if (preg_match('|(.*\\._V1).*|iUs', $match[1], $mo)) { $this->main_poster = $mo[1]; return true; } else { return false; } }