Python用selenium模拟登陆,怎么获取request cookie用requests登陆?
Python用selenium模拟登陆,怎么获取request cookie用requests登陆?
driver = webdriver.Firefox(profile)
driver.get("https://home.cnblogs.com/u/yoyoketang/followers/")
cookies = driver.get_cookies() # 获取浏览器cookies
print(cookies)