|
@@ -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
|
|
|
})
|