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