import requests
import json
from requests.auth import HTTPBasicAuth

url = "http://www.httpbin.org/cookies"
# url1 = "http://www.baidu.com"
# r = requests.get(url1)
# print(r.cookies)
#
# cookies = {"name": "wangjing"}
# r1 = requests.get(url, cookies=cookies)
# print(r.text)
