1, for example, open a Web page to be crawled: https://www.zhihu.com/explore
2, press F12, click on the Network
3, refresh the page, click on explore
4, select the request headers, the content of the user-agent
A more detailed http header Detailed reference blog: https://www.cnblogs.com/kmonkeywyl/p/8435533.html