zhangyong 5 ماه پیش
والد
کامیت
dfc187ff4d

+ 1 - 1
common/gpt4o_help.py

@@ -159,7 +159,7 @@ class GPT4o():
                         第二:生成过程有如下的规范、约束和建议: 
                         1.不能编造:不能加入原标题没有的实体信息,如原标题没有养老金,不能在生成的标题中出现养老金; 
                         2.不能使用强烈的诱导、夸张词汇:在提高分享吸引力的同时,严格落实不使用“必做”、“错过悔恨终生”类描述; 
-                        3.分享引导阅读总时长控制30秒到1分钟,20-30句话,每句话字符长度控制在4-10字; 
+                        3.分享引导阅读总字数控制在150个字以内,总时长控制30秒到1分钟,20-30句话,每句话字符长度控制在4-10字;
                         输出格式:要求输出格式为符合RFC8259标准的JSON格式的字符串,不要以代码块形式返回,返回一个string类型的分享引导脚本内容。
                         '''
 

+ 1 - 1
data_channel/dy_keyword.py

@@ -15,7 +15,7 @@ class DyKeyword:
         share_count_rule = 0
         special = 0
         short_duration_rule = 0
-        url = "http://47.236.68.175:8889/crawler/dou_yin/keyword"
+        url = "http://8.217.192.46:8889/crawler/dou_yin/keyword"
         list = []
         payload = json.dumps({
             "keyword": keyword,

+ 3 - 3
data_channel/dy_ls.py

@@ -11,7 +11,7 @@ from common.sql_help import sqlCollect
 class DYLS:
     @classmethod
     def get_dy_zr_list(cls, task_mark, url_id, number, mark, channel_id, name):
-        url = "http://47.236.68.175:8889/crawler/dou_yin/blogger"
+        url = "http://8.217.192.46:8889/crawler/dou_yin/blogger"
         list = []
         next_cursor = ''
         for i in range(5):
@@ -105,7 +105,7 @@ class DYLS:
             list = []
             try:
                 #  抖查查
-                url = "http://47.236.68.175:8889/crawler/dou_yin/blogger"
+                url = "http://8.217.192.46:8889/crawler/dou_yin/blogger"
                 payload = json.dumps({
                     "account_id": url_id,
                     "source": "抖查查",
@@ -165,7 +165,7 @@ class DYLS:
 
     @classmethod
     def get_video(cls, video_id):
-        url = "http://47.236.68.175:8889/crawler/dou_yin/detail"
+        url = "http://8.217.192.46:8889/crawler/dou_yin/detail"
         for i in range(3):
             payload = json.dumps({
                 "content_id": str(video_id)

+ 2 - 2
data_channel/ks_keyword.py

@@ -18,7 +18,7 @@ class KsKeyword:
         special = 0
         short_duration_rule = 0
 
-        url = "http://47.236.68.175:8889/crawler/kuai_shou/keyword"
+        url = "http://8.217.192.46:8889/crawler/kuai_shou/keyword"
         list = []
 
         payload = json.dumps({
@@ -119,7 +119,7 @@ class KsKeyword:
 
     @classmethod
     def get_video(cls, video_id):
-        url = "http://47.236.68.175:8889/crawler/kuai_shou/detail"
+        url = "http://8.217.192.46:8889/crawler/kuai_shou/detail"
 
         payload = json.dumps({
             "content_id": str(video_id)

+ 2 - 2
data_channel/ks_ls.py

@@ -10,7 +10,7 @@ class KSLS:
     @classmethod
     def get_ksls_list(cls, task_mark, url_id, number, mark, channel_id, name):
         #  快手app
-        url = "http://47.236.68.175:8889/crawler/kuai_shou/blogger"
+        url = "http://8.217.192.46:8889/crawler/kuai_shou/blogger"
         next_cursor = ""
         try:
             for i in range(5):
@@ -99,7 +99,7 @@ class KSLS:
 
     @classmethod
     def get_video(cls, video_id):
-        url = "http://47.236.68.175:8889/crawler/kuai_shou/detail"
+        url = "http://8.217.192.46:8889/crawler/kuai_shou/detail"
 
         payload = json.dumps({
             "content_id": str(video_id)

+ 1 - 1
data_channel/kuaishou.py

@@ -14,7 +14,7 @@ class KS:
 
     @classmethod
     def get_share_count(cls, v_id):
-        url = "http://47.236.68.175:8889/crawler/kuai_shou/detail"
+        url = "http://8.217.192.46:8889/crawler/kuai_shou/detail"
 
         payload = json.dumps({
             "content_id": v_id

+ 2 - 2
data_channel/shipinhao.py

@@ -30,7 +30,7 @@ class SPH:
         if history_id:
             return history_id
         else:
-            url = "http://47.236.68.175:8889/crawler/wei_xin/shi_pin_hao/account_info"
+            url = "http://8.217.192.46: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://47.236.68.175:8889/crawler/wei_xin/shi_pin_hao/blogger"
+            url = "http://8.217.192.46: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://47.236.68.175:8889/crawler/wei_xin/shi_pin_hao/keyword"
+        url = "http://8.217.192.46:8889/crawler/wei_xin/shi_pin_hao/keyword"
         list = []
         payload = json.dumps({
             "keyword": keyword,