[PyQt] QWebEngineUrlRequestInterceptor doesn't work
Florian Bruhin
me at the-compiler.org
Fri Jul 1 22:03:18 BST 2016
* redstone-cold <redstone-cold at 163.com> [2016-06-30 13:16:48 +0800]:
> 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 ?
I finally got around to updating to Qt 5.7 and trying this, and it
doesn't work here either.
I really can't see why, it seems to me like it should work... did you
find out anything in the meantime?
Florian
--
http://www.the-compiler.org | me at the-compiler.org (Mail/XMPP)
GPG: 916E B0C8 FD55 A072 | http://the-compiler.org/pubkey.asc
I love long mails! | http://email.is-not-s.ms/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20160701/f9816c93/attachment.sig>
More information about the PyQt
mailing list