标签:sign payload input 标题 log port inf use pos
# coding:utf-8
import requests
xxxxx
=====================================================
if __name__ == "__main__":
url = "https://passport.cnblogs.com/user/signin"
payload = {
"input1": "xxx",
"input2": "xxx",
"remember": True
}
s = requests.session()
login(s, url, payload,)
url2 = "https://i.cnblogs.com/EditPosts.aspx?opt=1"
u = save_box(s, url2, "标题", "正文内容")
postid = get_postid(u)
url3 = "https://i.cnblogs.com/post/delete"
delete_box(s, url3, postid)
标签:sign payload input 标题 log port inf use pos
原文地址:https://www.cnblogs.com/yaohu/p/10304502.html