Browse Source

fix kimi task

luojunhui 5 months ago
parent
commit
9d2ee207e5
1 changed files with 2 additions and 2 deletions
  1. 2 2
      applications/search/dy_search.py

+ 2 - 2
applications/search/dy_search.py

@@ -17,7 +17,7 @@ def douyin_search(keyword, sensitive_words, trace_id):
     :param keyword: the words needs to be searched
     :return:
     """
-    url = "http://8.217.190.241:8888/crawler/dou_yin/top_hub_content"
+    url = "http://crawler-cn.aiddit.com/crawler/dou_yin/top_hub_content"
     payload = json.dumps({
         "keyword": keyword,
         "category": "全部",
@@ -78,7 +78,7 @@ def douyin_detail(video_id):
     :param video_id:
     :return:
     """
-    url = "http://8.217.190.241:8888/crawler/dou_yin/detail"
+    url = "http://crawler-cn.aiddit.com/crawler/dou_yin/detail"
     payload = json.dumps({
         "content_id": video_id
     })