You've already forked Douyin_Web_Live
使用7.0.x版本的mitmproxy,去除外置mitmproxy依赖,可简化http网络开销
This commit is contained in:
11
proxy/addon/userinfo_http.py
Normal file
11
proxy/addon/userinfo_http.py
Normal file
@ -0,0 +1,11 @@
|
||||
from mitmproxy import http
|
||||
|
||||
|
||||
class UserInfoAddon:
|
||||
def __init__(self):
|
||||
...
|
||||
|
||||
def response(self, flow: http.HTTPFlow):
|
||||
# /aweme/v1/web/user/profile/other/ 他人主页获取他人信息
|
||||
if '/aweme/v1/web/user/profile/other' in flow.request.path:
|
||||
content = flow.response.content
|
Reference in New Issue
Block a user