当前位置:网站首页>Reptile foundation I
Reptile foundation I
2022-07-25 11:25:00 【fatfatmomo】
APP Generally, it encrypts itself ,HTTPS(http+SSL encryption ), Attention to crawling by reptiles .
The client sends request To server , Server return response
REQUEST Part of the HTTP HEADER

charset: Decoding method , Prevent confusion code
Encoding: Some of them are compressed packages
User-Agent: Tell the server what client I am , Disguise as a browser to prevent anti crawling
Cookie: Login use , There are other functions .
login return setcookie,
because http Is stateless connection ,client Send to server http request , for the first time login, Send it again for the second time , The server still doesn't know client Who is it? .
In fact, for the first time login after , Server's response return setcookie, Equivalent to the server to client Assigned a id No. for identification .client After that, every time you send cookie add .
RESPONSE Of HTTP HEADER
Location: Indicate the jump link
Set-cookie:Userid
statuscode: Response status code :2xx- success ,3xx- Jump ,4xx- Client error ,500- Server error .
300- Multiple available resources , Can be disposed of or discarded ;
301- Redirect ;
302- Redirect ;
304- Requested resource not updated , discarded .
python library , Such as urllib2 Redirect has been automatically skipped , Auto resend location Of request Return to code .

边栏推荐
- ArcMap无法启动解决方法
- Esp32c3 based on the example tutorial of esp32 Rainmaker development under Arduino framework
- Some usages of beautifulsoup
- [information system project manager] thought map series essence summary
- Learn NLP with Transformer (Chapter 8)
- There is a newline problem when passing shell script parameters \r
- 100W!
- STM32CubeMX学习记录--安装配置与使用
- Only know that the preform is used to generate objects? See how I use unity to generate UI prefabs
- 推荐系统-协同过滤在Spark中的实现
猜你喜欢

AI system frontier dynamics issue 43: ONEFLOW V0.8.0 officially released; GPU finds human brain connections; AI doctoral online crowdfunding research topic

MLX90640 红外热成像仪测温模块开发笔记(五)

PostgreSQL踩坑 | ERROR: operator does not exist: uuid = character varying

Learn NLP with Transformer (Chapter 6)
Learn NLP with Transformer (Chapter 3)

MySQL | GROUP_ The concat function concatenates the values of a column with commas

MySQL advanced statement (I) (there is always someone who will make your life no longer bad)
信息熵的定义

最详细的mysql索引解析(文末附赠思维导图)

Learn NLP with Transformer (Chapter 5)
随机推荐
推荐系统-协同过滤在Spark中的实现
Learn NLP with Transformer (Chapter 5)
[动态规划] 70. 爬楼梯
JS convert pseudo array to array
Learn NLP with Transformer (Chapter 2)
A troubleshooting record of DirectShow playback problems
信息熵的定义
STM32CubeMX学习记录--安装配置与使用
【IJCAI 2022】参数高效的大模型稀疏训练方法,大幅减少稀疏训练所需资源
[递归] 938. 二叉搜索树的范围和
shell-第五章作业
Nb-iot control LCD (date setting and reading)
Learn NLP with Transformer (Chapter 5)
Signal integrity (SI) power integrity (PI) learning notes (XXXIII) 102 general design rules to minimize signal integrity problems
数据库设计-简化字典表[通俗易懂]
Reinforcement Learning 强化学习(四)
SQL语言(二)
Loadbalancerlife lifecycle requested by feign client
AI system frontier dynamics issue 43: ONEFLOW V0.8.0 officially released; GPU finds human brain connections; AI doctoral online crowdfunding research topic
Hcip experiment (04)