|
@@ -41,7 +41,12 @@ elif [ ${crawler} = "sph" ] && [ ${log_type} = "search" ];then
|
|
|
profile_path=/etc/profile
|
|
|
python=python3
|
|
|
log_path=${piaoquan_crawler_dir}main/main_logs/process-mq-$(date +%Y-%m-%d).log
|
|
|
-elif [ ${crawler} = "kyk" ] || [ ${crawler} = "sph" ];then
|
|
|
+elif [ ${crawler} = "kyk" ];then
|
|
|
+ piaoquan_crawler_dir=/Users/lieyunye/Desktop/crawler/piaoquan_crawler/
|
|
|
+ profile_path=./base_profile
|
|
|
+ python=python3
|
|
|
+ log_path=${piaoquan_crawler_dir}main/main_logs/process-mq-$(date +%Y-%m-%d).log
|
|
|
+elif [ ${crawler} = "sph" ] && [ ${log_type} = "recommend" ];then
|
|
|
piaoquan_crawler_dir=/Users/lieyunye/Desktop/crawler/piaoquan_crawler/
|
|
|
profile_path=./base_profile
|
|
|
python=python3
|