mirror of
https://gitee.com/ledc/IYUUAutoReseed
synced 2025-08-25 15:34:52 +00:00
新增站点hdzone
This commit is contained in:
@@ -151,7 +151,7 @@ class XXXX implements decodeBase
|
||||
// 获取副标题(倒序算法)
|
||||
// 偏移量
|
||||
$h2StrStart = '<br />';
|
||||
$h2StrEnd = '<td width="80" class="embedded"';
|
||||
$h2StrEnd = '</td><td width="20" class="embedded"';
|
||||
$h2_endOffset = strpos($v,$h2StrEnd);
|
||||
$temp = substr($v, 0, $h2_endOffset);
|
||||
$h2_offset = strrpos($temp,$h2StrStart);
|
||||
@@ -161,10 +161,10 @@ class XXXX implements decodeBase
|
||||
$h2_len = strlen($temp) - $h2_offset - strlen($h2StrStart);
|
||||
//存在副标题
|
||||
$arr['title'] = substr($temp, $h2_offset + strlen($h2StrStart), $h2_len);
|
||||
$arr['title'] = str_replace("\n","",$arr['title']);
|
||||
#$arr['title'] = str_replace("\n","",$arr['title']);
|
||||
// 第二次过滤
|
||||
if ( strpos($arr['title'],'</td>') != false ) {
|
||||
$arr['title'] = str_replace('</td>',"",$arr['title']);
|
||||
#$arr['title'] = str_replace('</td>',"",$arr['title']);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user