<div><div style="color: rgb(0, 0, 0); font-family: arial; font-size: 14px;">someone says <span style="color: rgb(36, 39, 41); font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; font-size: 15px; line-height: 19.5px; background-color: rgb(255, 255, 255);"> </span><span style="color: rgb(36, 39, 41); font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; font-size: 15px; line-height: 19.5px; background-color: rgb(255, 255, 255);">It may be caused by python garbage collection</span></div><div><span style="background-color: rgb(255, 255, 255); font-size: 15px; line-height: 19.5px;"><font color="#242729" face="Arial, Helvetica Neue, Helvetica, sans-serif"><a href="http://stackoverflow.com/questions/37658772/pyqt5-6-interceptrequest-doesnt-work" _src="http://stackoverflow.com/questions/37658772/pyqt5-6-interceptrequest-doesnt-work">http://stackoverflow.com/questions/37658772/pyqt5-6-interceptrequest-doesnt-work</a></font></span></div><div><br></div><div><span style="font-size: 15px; line-height: 19.5px; background-color: rgb(255, 255, 255);">P.S. I tried the solution , it worked . </span><span style="font-size: 15px; line-height: 19.5px; background-color: rgb(255, 255, 255);">but I cannot figure out why, can you explain it ?</span></div><div style="color: rgb(0, 0, 0); font-family: arial; font-size: 14px;"><br></div><div style="color: rgb(0, 0, 0); font-family: arial; font-size: 14px;"><br></div><div style="color: rgb(0, 0, 0); font-family: arial; font-size: 14px;"><br></div></div><!-- jy5ContentSuffix --><div>在2016年07月02 05时03分, "Florian Bruhin"<me@the-compiler.org>写道:</div><blockquote id="isReplyContent" style="padding-left:1ex; margin: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><br>* redstone-cold <<a href="mailto:redstone-cold@163.com">redstone-cold@163.com</a>> [2016-06-30 13:16:48 +0800]:<br>> In my project, there is some need to get a certain requested URL in Chrome Dev Tools by Python during loading a web page,<br>> <br>> 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, <br>> <br>> my code here https://bpaste.net/show/f2b1b67bdf96<br>> <br>> but it didn't work - no URL get printed at all , so what's wrong here ? Any good solutions ?<br><br>I finally got around to updating to Qt 5.7 and trying this, and it<br>doesn't work here either.<br><br>I really can't see why, it seems to me like it should work... did you<br>find out anything in the meantime?<br><br>Florian<br><br>-- <br>http://www.the-compiler.org | <a href="mailto:me@the-compiler.org">me@the-compiler.org</a> (Mail/XMPP)<br>   GPG: 916E B0C8 FD55 A072 | http://the-compiler.org/pubkey.asc<br>         I love long mails! | http://email.is-not-s.ms/<br></blockquote><br><br><span title="neteasefooter"><p> </p></span>