lizongze 1 year ago
parent
commit
199d5aea97
2 changed files with 3 additions and 2 deletions
  1. 1 0
      ybw/crawler/account.py
  2. 2 2
      ybw/utils/title_participle.py

+ 1 - 0
ybw/crawler/account.py

@@ -33,6 +33,7 @@ def read_account():
 
 
 
 
 def get_account(site, crawl_type):
 def get_account(site, crawl_type):
+    # url = "http://cc.spdata.jianyu360.com/competing_goods/account/fetch"
     url = "http://172.17.4.232:1405/competing_goods/account/fetch"
     url = "http://172.17.4.232:1405/competing_goods/account/fetch"
     params = {
     params = {
         "site": site,
         "site": site,

+ 2 - 2
ybw/utils/title_participle.py

@@ -12,8 +12,8 @@ import json
 
 
 def get_should(title):
 def get_should(title):
 
 
-    # url = "http://172.17.145.178:9200/_analyze"  # 线上
-    url = "http://192.168.3.241:9200/_analyze"    # 本地
+    url = "http://172.17.145.178:9200/_analyze"  # 线上
+    # url = "http://192.168.3.241:9200/_analyze"    # 本地
 
 
     headers = {"Content-Type": "application/json"}
     headers = {"Content-Type": "application/json"}