增加代码文档

This commit is contained in:
luzhisheng 2024-01-11 23:10:11 +08:00
parent 8a02d77937
commit d1bd4e2fcf
3 changed files with 4 additions and 22 deletions

View File

@ -0,0 +1,3 @@
解题思路:
https://blog.csdn.net/u010226586/article/details/135540882

View File

@ -1,21 +0,0 @@
## 任务抓取这5页的数字计算加和并提交结果
https://match.yuanrenxue.com/match/12
查看请求地址
https://match.yuanrenxue.com/api/match/12?page=1&m=eXVhbnJlbnh1ZTE%3D
其中m是加密参数
m=eXVhbnJlbnh1ZTE%3D
打断点调试
![debugger](../img/73.png)
"m": btoa('yuanrenxue' + window.page)
很简单,直接上python代码
[最后代码实现](实例12.py "js代码4")

View File

@ -14,7 +14,7 @@ def get_num():
"user-agent": "yuanrenxue.project",
"cookie": "Hm_lvt_c99546cf032aaa5a679230de9a95c7db=1648698333,1648863299; "
"Hm_lvt_9bcbda9cbf86757998a2339a0437208e=1648718340,1648863297; "
"no-alert3=true; m=155; tk=7332741390523673465; sessionid=ac0xs5o2sopkirmvude3epvr8uzo8w66;"
"no-alert3=true; m=155; tk=7332741390523673465; sessionid=XXXXXXX;"
" Hm_lpvt_9bcbda9cbf86757998a2339a0437208e=1649313675; "
"Hm_lpvt_c99546cf032aaa5a679230de9a95c7db=1649316025"
}