# 获取cookie
import requests

response = requests.get("http://www.baidu.com")
print(response.cookies)
print(response.cookies.items())
for key, value in response.cookies.items():
    print(key + "=" + value)

50832485f8d2f05dac1593cbfbdaf63cc9b507fc
<mask token>

<mask token>
print(response.cookies)
print(response.cookies.items())
for key, value in response.cookies.items():
    print(key + '=' + value)

<mask token>
response = requests.get('http://www.baidu.com')
print(response.cookies)
print(response.cookies.items())
for key, value in response.cookies.items():
    print(key + '=' + value)

import requests
response = requests.get('http://www.baidu.com')
print(response.cookies)
print(response.cookies.items())
for key, value in response.cookies.items():
    print(key + '=' + value)

# 获取cookie
import requests

response = requests.get("http://www.baidu.com")
print(response.cookies)
print(response.cookies.items())
for key, value in response.cookies.items():
    print(key + "=" + value)
