Gets cookies from the session
import json cookies = session.get_cookies() # get the cookies from the session with open("cookies.json", "w") as f: json.dump(cookies, f) # save the cookies to a json file
list
CookieDict
ValueError
Was this page helpful?