About session cookie extraction of

request library on cookie value can be extracted with requests.utils.dict_from_cookiejar ()

1 rep = requests.post(url,data,headers).cookies
2 ret = requests.utils.dict_from_cookiejar(rep)

Usage above also applies to the session cookie value extraction.

Guess you like

Origin www.cnblogs.com/Young-shi/p/11621170.html