1、例如打开要爬取的网页:https://www.zhihu.com/explore

2、按下F12,点击Network

如何查看网页的header

 

 3、刷新页面,点击explore

如何查看网页的header

 

 4、选取request headers,user-agent的内容

如何查看网页的header

 

 更加详细的http header详解参考博客:https://www.cnblogs.com/kmonkeywyl/p/8435533.html

 

相关文章:

  • 2021-08-03
  • 2021-10-11
  • 2021-05-20
  • 2021-10-23
  • 2021-08-08
  • 2021-08-10
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-11-12
  • 2022-01-28
  • 2021-10-11
  • 2021-09-21
  • 2022-12-23
  • 2022-01-08
相关资源
相似解决方案