소스 검색

fix kimi task

luojunhui 5 달 전
부모
커밋
9d2ee207e5
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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
     :param keyword: the words needs to be searched
     :return:
     :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({
     payload = json.dumps({
         "keyword": keyword,
         "keyword": keyword,
         "category": "全部",
         "category": "全部",
@@ -78,7 +78,7 @@ def douyin_detail(video_id):
     :param video_id:
     :param video_id:
     :return:
     :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({
     payload = json.dumps({
         "content_id": video_id
         "content_id": video_id
     })
     })