小编Kor*_*zon的帖子

Python - 打开网站并发送 cookie

如何使用 Python 将 cookie 发送到网络浏览器(我使用的是 3.7 版)?

我知道如何打开网站:

import webbrowser
webbrowser.open("http://www.example.com", new=2)
Run Code Online (Sandbox Code Playgroud)

但我不知道如何使用保存在某处的 cookie 来打开该站点。

python cookies session-cookies python-webbrowser python-3.7

5
推荐指数
1
解决办法
2808
查看次数