import requests
import time
x = requests.session()
requests.utils.add_dict_to_cookiejar(x.cookies,{
"PHPSESSID":"07et4ol1g7ttb0bnjmbiqjhp43"})
res1= x.get("http://www.baidu.com")
print(x.cookies)
time.sleep(1)
res2 = x.get("https://mbd.baidu.com/newspage/data/landingsuper?context=%7B%22nid%22%3A%22news_9000013757081156770%22%7D&n_type=0&p_from=1")
print(x.cookies)