zhangyong 5 ماه پیش
والد
کامیت
e983ed6b2f
3فایلهای تغییر یافته به همراه5 افزوده شده و 5 حذف شده
  1. 2 2
      config.ini
  2. 2 2
      data_channel/shipinhao.py
  3. 1 1
      data_channel/sph_keyword.py

+ 2 - 2
config.ini

@@ -1,5 +1,5 @@
 [PATHS]
-;VIDEO_PATH = /Users/tzld/Desktop/video_rewriting/path/
-VIDEO_PATH = /root/video_rewriting/path/
+VIDEO_PATH = /Users/z/Downloads/video_rewriting/path/
+; VIDEO_PATH = /root/video_rewriting/path/
 
 

+ 2 - 2
data_channel/shipinhao.py

@@ -30,7 +30,7 @@ class SPH:
         if history_id:
             return history_id
         else:
-            url = "http://8.217.190.241:8888/crawler/wei_xin/shi_pin_hao/account_info"
+            url = "http://47.236.68.175:8889/crawler/wei_xin/shi_pin_hao/account_info"
             payload = json.dumps({
                 "account_name": account_name
             })
@@ -61,7 +61,7 @@ class SPH:
     def get_sph_url(cls, task_mark, url_id, number, mark, channel_id, name):
         account_id = cls.get_account_id(url_id)
         if account_id:
-            url = "http://8.217.190.241:8888/crawler/wei_xin/shi_pin_hao/blogger"
+            url = "http://47.236.68.175:8889/crawler/wei_xin/shi_pin_hao/blogger"
             next_cursor = ""
             list = []
             # for i in range(10):

+ 1 - 1
data_channel/sph_keyword.py

@@ -20,7 +20,7 @@ class SphKeyword:
 
     @classmethod
     def get_key_word(cls, keyword, task_mark, mark, channel_id, name):
-        url = "http://8.217.190.241:8888/crawler/wei_xin/shi_pin_hao/keyword"
+        url = "http://47.236.68.175:8889/crawler/wei_xin/shi_pin_hao/keyword"
         list = []
         payload = json.dumps({
             "keyword": keyword,