这有何难的,chatGPT聊一下就可以有答案。比如我聊的
Create a python program, which can obtain the cookies of the website
import requests
#Website URL
url = "example.com"
#Request the page
r = requests.get(url)
#Get the cookie details
cookies = r.cookies
#Print the cookie details
for cookie in cookies:
print(cookie, cookies[cookie])