蘑菇丁自动填写日报---Python语言实现

# GBK
import requests,time,random, json
# 配置信息
phone = "15634319945"
password = "Helloworld123"
desc = "今日签到"
longitude = "122.053864"
latitude = "37.520932"
address = "自由东方公寓酒店"
stateType = "START"
# 配置信息
loginUrl = "https://api.moguding.net:9000/session/user/v1/login"
saveUrl = "https://api.moguding.net:9000/attendence/clock/v1/save"
planUrl = "https://api.moguding.net:9000/practice/plan/v1/getPlanByStu"#请求地址们
headers1={
"authority":"api.moguding.net:9000",#这些事伪造浏览器头
"method":"POST",
"path":"/practice/paper/v1/save",
"scheme":"https",
"accept":"application/json, text/plain, */*",
"accept-encoding":"gzip, deflate, br",
"accept-lan

你可能感兴趣的:(爬虫,Python,python)