5
我现在正在使用python-webkit,但它缺少我需要的WebKitAuthenticationRequest。有没有python webkit2模块,或者有没有办法在旧的webkit中进行身份验证?是否有python的webkit2模块?
我现在正在使用python-webkit,但它缺少我需要的WebKitAuthenticationRequest。有没有python webkit2模块,或者有没有办法在旧的webkit中进行身份验证?是否有python的webkit2模块?
您可以从gi.repository
模块(也称为PyGObject)获取WebKit2。
请确保您有以下软件包:
然后,您应该能够使用WebKit2 -
from gi.repository import WebKit2
(请注意,该模块用于GTK + 3)。
看起来好像WebKit2是为17.10,但它是早期版本的“WebKit”...和模块不兼容。 – NoBugs