mirror of
https://github.com/luzhisheng/js_reverse.git
synced 2025-04-22 15:19:39 +08:00
抖店精选联盟数据
This commit is contained in:
parent
4198c8afee
commit
3413db8651
3
抖音js逆向学习/抖店精选联盟数据/README.md
Normal file
3
抖音js逆向学习/抖店精选联盟数据/README.md
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
# 文档
|
||||||
|
|
||||||
|
mitmdump -s ./spider/buyin_authorStatData_seekAuthor_mitm.py -p 9999 -q
|
@ -5,10 +5,8 @@ class AddHeader:
|
|||||||
def __init__(self):
|
def __init__(self):
|
||||||
self.num = 0
|
self.num = 0
|
||||||
|
|
||||||
def request(self, flow: mitmproxy.http.HTTPFlow):
|
|
||||||
print(flow.request.url)
|
|
||||||
|
|
||||||
def response(self, flow):
|
def response(self, flow):
|
||||||
|
print(flow.request.host)
|
||||||
self.num = self.num + 1
|
self.num = self.num + 1
|
||||||
flow.response.headers["count"] = str(self.num)
|
flow.response.headers["count"] = str(self.num)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user