|
@@ -37,7 +37,7 @@ def webhook_get_promoter():
|
|
|
rep = json.loads(request.data)
|
|
|
promoterId = rep["promoterId"]
|
|
|
media_id = rep["mediaId"]
|
|
|
- if media_id == 2 or media_id is None:
|
|
|
+ if media_id == '2' or media_id is None:
|
|
|
cookie = cookie_update.get_cookie_handler()[0]
|
|
|
phone_num = cookie_update.get_cookie_handler()[1]
|
|
|
roll = ReturnPromoterInfoSpider().PromoterInfoSpiderHandler(promoterId, cookie)
|
|
@@ -104,7 +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-------')
|
|
|
+ print(roll, '--------roll-------')
|
|
|
return roll
|
|
|
|
|
|
|