renyupeng 1 năm trước cách đây
mục cha
commit
895f8bb3fd
1 tập tin đã thay đổi với 1 bổ sung2 xóa
  1. 1 2
      utils/PromoterInfoWebHook.py

+ 1 - 2
utils/PromoterInfoWebHook.py

@@ -35,9 +35,7 @@ def api_root():
 @app.route('/promoterInfo/getPromoterId', methods=['POST'])
 def webhook_get_promoter():
     rep = json.loads(request.data)
-    print(rep,'---rep---')
     promoterId = rep["promoterId"]
-    print(promoterId,'-----promoterId-----')
     media_id = rep["mediaId"]
     if media_id == 2 or media_id is None:
         cookie = cookie_update.get_cookie_handler()[0]
@@ -106,6 +104,7 @@ def webhook_get_promoter():
         promoterId = rep["promoterId"]
         cookie = douyin_cookie_update.get_cookie_handler()[0]
         roll = SpiderDouyinHeader().DouyinHandler(promoterId, cookie)
+        print(roll,'--------roll-------')
         return roll