作者 刘锟

提取页面tdk

@@ -53,7 +53,6 @@ class HtmlCollect extends Command @@ -53,7 +53,6 @@ class HtmlCollect extends Command
53 53
54 protected function start_collect() 54 protected function start_collect()
55 { 55 {
56 - $tdk_project_ids = [714];  
57 $task_id = $this->get_task(); 56 $task_id = $this->get_task();
58 if ($task_id === false) { 57 if ($task_id === false) {
59 //所有项目采集完成 58 //所有项目采集完成
@@ -109,9 +108,7 @@ class HtmlCollect extends Command @@ -109,9 +108,7 @@ class HtmlCollect extends Command
109 } 108 }
110 109
111 //提取页面tdk 110 //提取页面tdk
112 - if(in_array($project_id,$tdk_project_ids)){  
113 $this->get_site_meta($new_html, $collect_info); 111 $this->get_site_meta($new_html, $collect_info);
114 - }  
115 112
116 $source_list = $this->html_preg($new_html, $project_id, $collect_info->domain, $old_info['web_url_domain'], $old_info['home_url']); 113 $source_list = $this->html_preg($new_html, $project_id, $collect_info->domain, $old_info['web_url_domain'], $old_info['home_url']);
117 114