[PyQt] QWebEngineUrlRequestInterceptor doesn't work

redstone-cold redstone-cold at 163.com
Thu Jun 30 06:16:48 BST 2016

In my project, there is some need to get a certain requested URL in Chrome Dev Tools by Python during loading a web page,

I think get the URL by Qt WebEngine is a good solution. I started by trying to use the code below to print out all the requested URLs during loading a web page, 

my code here https://bpaste.net/show/f2b1b67bdf96

but it didn't work - no URL get printed at all , so what's wrong here ? Any good solutions ?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20160630/c4d99b76/attachment.html>

More information about the PyQt mailing list