登录功能不变, 增加分享

This commit is contained in:
work
2025-05-30 14:01:29 +08:00
parent 137f2d5562
commit 919da72397
3 changed files with 74 additions and 9 deletions

View File

@@ -10,7 +10,8 @@ TASK_TYPE = {
'comment': playwright_comment,
'like': playwright_like,
'post': playwright_post,
'login_account': playwright_m_login
'login_account': playwright_m_login,
'forward': playwright_share
}
HOST = "http://118.193.40.152:8002"
@@ -24,7 +25,7 @@ def get_task():
'Content-Type': 'application/json'
}
data = {
"include_task_type": ["login_account", "get_account_profile"],
"include_task_type": [],
"exclude_task_type": []
}
response = requests.post(url, headers=header, json=data, proxies=None)