zhangyong 6 月之前
父節點
當前提交
0ffc8f8608
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      carry_video/carry_video.py

+ 2 - 2
carry_video/carry_video.py

@@ -40,7 +40,7 @@ class CarryViode:
                 parsed_url = urlparse(url)
                 params = parse_qs(parsed_url.query)
                 video_id = params.get('vid', [None])[0]
-            url = "http://47.236.68.175:8889/crawler/dou_yin/detail"
+            url = "http://8.217.192.46:8889/crawler/dou_yin/detail"
             payload = json.dumps({
                 "content_id": str(video_id)
             })
@@ -77,7 +77,7 @@ class CarryViode:
             location = response.headers.get('Location', None)
             video_id = re.search(r'/(f|photo|short-video|long-video)/(.*)/?',
                                  location.split('?')[0] if location else url).group(2)
-            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)