【四二学堂】Requests库的head方法

网络爬虫系列视频: https://edu.csdn.net/course/detail/28645 Requests库的head()方法主要用于获取HTML网页头信息,相当于HTTP的HEAD。例如,抓取百度首页的头部信息,示例代码如下: {‘Cache-Control’: ‘private, no-cache, no-store, proxy-revalidate, no-transform’
相关文章
相关标签/搜索