当前位置:网站首页>One of the anti climbing methods
One of the anti climbing methods
2022-07-07 23:38:00 【m0_ thirty-seven million eight hundred and eighty-one thousand 】
Add request header
import requests
headers = {
'token': '----------------------------',
'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.82 Safari/537.36',
'aliyungf_tc': '7c8190ef77edb47fb5c719e345ea289fb080edc262ea06f68231a2714bab8d40',
}
r = requests.get(
'https://open.--------.com/api/afterSales/detailData/qryTeacherListByRoleType?deptId=15439&startTime=1644422400000&endTime=1644508799000&deptIdChain=1001-15439&roleType=6',
headers=headers)
datas = r.json()
print(datas)
------------------------------------------------------
Return without request header
{
'traceId': '65005003b7cf4d96ad3246ac82a5f199', 'status': '1007', 'msg': ' Please contact the person in charge to add a role group in Fuxi system !', 'data': {
}}
----------------------------------------------------------
Return with request header
{
'status': '0', 'msg': ' success ', 'data': {
'deptInfoId': 15439, 'teacherId': 15439, 'deptName': '---------', 'continuePurchaseNum': 0, 'teachingClassNum': 128, 'unfinishClassNum': 808, 'firstConnectRateInfo': '3/4', 'firstConnectRate': 75.0, 'houClassStudentNum': 0, 'averageHouClassTime': 0, 'liveChapterNum': 0, 'liveAttendStudentRateInfo': '0/0', 'liveAttendStudentRate': 0, 'formalLiveAttendStudentRateInfo': '0/0', 'formalLiveAttendStudentRate': 0, 'playbackAttendStudentRateInfo': '0/0', ......
Notice the three parameters in the request header , It is likely to change .
边栏推荐
- Markdown
- SQL database execution problems
- ESP at installation esp8266 and esp32 versions
- 数据库面试题+解析
- 电子设备行业智能供应链协同平台解决方案:解决低效, 赋能产业数字化升级
- 欢聚时代一面
- Slam interview summary
- Possible SQL for Oracle table lookup information
- Given an array, such as [7864, 284, 347, 7732, 8498], now you need to splice the numbers in the array to return the "largest possible number."
- Anxinco esp32-a1s development board is adapted to Baidu dueros routine to realize online voice function
猜你喜欢
Solution of intelligent supply chain collaboration platform in electronic equipment industry: solve inefficiency and enable digital upgrading of industry
SAP HR奖罚信息导出
Right click the idea file to create new. There is no solution to create new servlet
MySQL Index Optimization Practice II
Anxin vb01 offline voice module access intelligent curtain guidance
2022 certified surveyors are still at a loss when preparing for the exam? Teach you how to take the exam hand in hand?
The file format and extension of XLS do not match
C method question 1
B_QuRT_User_Guide(38)
Progress broadcast | all 29 shield machines of Guangzhou Metro Line 7 have been launched
随机推荐
Solution of intelligent supply chain collaboration platform in electronic equipment industry: solve inefficiency and enable digital upgrading of industry
【汇总】看过的一些Panel与视频
Extract the file name under the folder under win
Oracle string sorting
The 19th Zhejiang Provincial College Programming Contest VP record + supplementary questions
数据库面试题+解析
电子设备行业智能供应链协同平台解决方案:解决低效, 赋能产业数字化升级
[untitled]
【7.4】25. Turn over the linked list in groups of K
SRM supplier cloud collaborative management platform solution for building materials industry to realize business application scalability and configuration
Windows set redis to start automatically
通达信买基金安全吗?
B_ QuRT_ User_ Guide(36)
2022 Season 6 perfect children's model Shaanxi finals came to a successful conclusion
Spark 离线开发框架设计与实现
Force deduction solution summary 648 word replacement
Live-Server使用
UE4_ Ue5 panoramic camera
Svn relocation
系统设计概述