|
|
|
@ -452,7 +452,8 @@ class Keyworlds extends CI_Controller {
|
|
|
|
|
$response = $this->curl($url,$client_flag);
|
|
|
|
|
if ($response) {
|
|
|
|
|
//分析google搜索结果,计算排名
|
|
|
|
|
if (false !== stripos($response, '<h1>302 Moved</h1>')) {
|
|
|
|
|
if (false !== stripos($response, '<h1>302 Moved</h1>') ||
|
|
|
|
|
false !== stripos($response, 'captcha')) {
|
|
|
|
|
$rank['rank'] = -2;
|
|
|
|
|
} elseif (false !== stripos($response, $site_url)) {
|
|
|
|
|
preg_match_all($match_fun, $response, $store);
|
|
|
|
|