diff --git a/tools/es_setting.php b/tools/es_setting.php index 836f8eb..2be78be 100644 --- a/tools/es_setting.php +++ b/tools/es_setting.php @@ -46,7 +46,7 @@ $log_path_success = '/datacenter/zhishiku/es_success.log'; $log_path_err = '/datacenter/zhishiku/es_error.log'; for($page=0;;$page++){ - $sql = "SELECT * FROM spider_weibo where uid=2282201403 and id>".$min_id." order by id asc limit ".$limit; + $sql = "SELECT * FROM spider_weibo where f_mblogid='' and uid=2282201403 and id>".$min_id." order by id asc limit ".$limit; $result = $conn->query($sql); if ($result->num_rows > 0) { while($row = $result->fetch_assoc()) {