标题: 从最新快乐提取的PC秒赞核心代码
时间: 2015-05-23
== -3000) {
$this->skeyzt = 1;
$this->error[] = $this->error . '获取说说列表失败,原因SKEY过期![PC]';
}
else {
$this->msg[] = $this->error . '获取说说列表成功[PC]';
$json = str_replace(array("\\x22", "\\x3C", "\/"), array('"', '<', '/'), $json);
if (preg_match_all('/data\-unikey="([0-9A-Za-z\.\-\_\/\:]+)" data\-curkey="([0-9A-Za-z\.\-\_\/\:]+\/([0-9A-Za-z]+))" data\-clicklog="like" href="javascript\:\;"><i class="ui\-icon icon\-praise"><\/i>赞/iUs', $json, $arr)) {
foreach ($arr[1] as $k => $row ) {
preg_match('/\/(\d+)\//', $row, $match);
$this->touin = $match[1];
$type = 0;
$key = $arr[2][$k];
$fid = $arr[3][$k];
if ($row != $key) {
$type = 5;
}
$this->pclike($key, $row, 1, '311', $type, time(), $fid);
if ($this->skeyzt) {
break;
}
}
}
else {
$this->msg[] = $this->error . '没有要赞的说说[PC]';
}
}
}
『回复列表(9|隐藏机器人聊天)』