0

Is there a way to get the weight of a web page after finished to load using QWebEngineView in Python? What I mean is the weight of the datas trasnferred to load the whole page, in order to avoid a network sniffer to do it.

Thank you very much.

I'm using a networking sniffer that considers the length of the packets got from when the page is starting to load and finished to load (declared by the function "loadProgress" of QWebEngineView) but I would like to avoid it while I'm using Python to create an exe app and the Python Network sniffers seem to be not so much performing in Windows.

GiuseppeR
  • 11
  • 2
  • No, not really. The nearest you can get is with [QWebEngineUrlRequestJob](https://doc.qt.io/qt-5/qwebengineurlrequestjob.html), but you'll have implement almost everything yourself. There's no simple convenience API. – ekhumoro Nov 24 '22 at 18:12

0 Answers0