Get a response cookie
Information such as your login account or password in a cookie, in order to achieve the next time you log in automatically at login. A cookie is after obtaining the relevant information from the service which saved on the machine. Server cookie stored on the machine will fail to set a certain period, after time-barred local cookie information void, will be unable to log in automatically.
import requests
response = requests.get(' https://www.zhipin.com/c101010100/y_6/?query=%E8%B4%A8%E9%87%8F&page=1&ka=page-1')
#1.获取返回的cookiejar对象
cookiejar = response.cookies
# 2.将cookiejar转换成字典
cookiedict = requests.utils.dict_from_cookiejar(cookiejar