This website requires JavaScript.
Explore
Help
Sign In
xmengnet
/
PyQt
Watch
1
Star
0
Fork
You've already forked PyQt
0
Code
Issues
Pull requests
Projects
Releases
Wiki
Activity
7d0a51c98d
PyQt
/
浏览器获取Cookie
History
Irony
e09d04e792
update readme
2017-12-27 00:20:50 +08:00
..
ScreenShot
浏览器获取Cookie
2017-12-10 13:45:14 +08:00
README.md
update readme
2017-12-27 00:20:50 +08:00
WebEngineView.py
浏览器获取Cookie
2017-12-10 13:45:14 +08:00
WebView.py
浏览器获取Cookie
2017-12-10 13:45:14 +08:00
README.md
获取QWebView或者QWebEngineView的网页Cookie
QWebView很简单,从page()中得到QNetworkAccessManager,在从中得到QNetworkCookieJar, 最后得到cookie,当然也可以设置自己的QNetworkCookieJar
QWebEngineView的话目前是通过QWebEngineProfile中得到的cookieStore并绑定它的cookieAdded信号来得到Cookie
截图