当前位置:网站首页>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 .
边栏推荐
- B_ QuRT_ User_ Guide(38)
- Oracle database backup and recovery
- 【7.4】25. K 个一组翻转链表
- POJ2392 SpaceElevator [DP]
- 伸展树(一) - 图文解析与C语言实现
- 谷歌浏览器怎么登录及开启同步功能
- 2022注册测绘师备考开始 还在不知所措?手把手教你怎么考?
- MongoDB快速入门
- Entity层、DAO层、Service层、Controller层 先后顺序
- [stm32+esp8266 connect Tencent cloud IOT development platform 2] stm32+esp8266-01s connect Tencent cloud
猜你喜欢
Senior programmers must know and master. This article explains in detail the principle of MySQL master-slave synchronization, and recommends collecting
MongoDB快速入门
2022 Season 6 perfect children's model Shaanxi finals came to a successful conclusion
进度播报|广州地铁七号线全线29台盾构机全部完成始发
SAP memory parameter tuning process
SAP HR family member information
Ora-01741 and ora-01704
Pycharm essential plug-in, change the background (self use, continuous update) | CSDN creation punch in
移动端异构运算技术 - GPU OpenCL 编程(基础篇)
B_ QuRT_ User_ Guide(36)
随机推荐
Boost regex library source code compilation
通达信买基金安全吗?
2022第六季完美童模陕西总决赛圆满落幕
家用电器行业渠道商协同系统解决方案:助力家电企业快速实现渠道互联网化
648. Word replacement
生鲜行业数字化采购管理系统:助力生鲜企业解决采购难题,全程线上化采购执行
Explain
系统设计概述
Deep understanding of MySQL lock and transaction isolation level
V-for traversal object
0-1 knapsack problem
Access database query all tables SQL
Stringutils tool class
redis缓存工具类,值得拥有~
B_ QuRT_ User_ Guide(38)
Digital procurement management system for fresh food industry: help fresh food enterprises solve procurement problems and implement online procurement throughout the process
Open source hardware small project: anxinco esp-c3f control ws2812
平衡二叉树【AVL树】——插入、删除
Oracle string sorting
移动端异构运算技术 - GPU OpenCL 编程(基础篇)