protected function get_table_rows_cast($html, $table_start, $class = "nm")
{
$row_s = strpos($html, '<table class="cast_list">');
if ($row_s == 0) {
return array();
}
$endtable = strpos($html, "</table>", $row_s);
$block = substr($html, $row_s, $endtable - $row_s);
if (preg_match_all('!<tr.*?>(.*?)</tr>!ims', $block, $matches)) {
return $matches[1];
}
return array();
}