public function episodeAirDate() { if (!$this->isEpisode()) { return ""; } $page = $this->getPage("Title"); if (preg_match("@<meta itemprop=\"datePublished\" content=\"([\\d\\-]+)\" />@", $page, $matches)) { return $matches[1]; } return ""; }