I wrote a program that uses a QWebPage to retrieve websites. Is there a way to get the data associated with the web page, like HTML, CSS, and Javascript? Similar to view-source in firefox.
There seem to be a couple options. One way is to make a QNetworkReply proxy and try copying the data, but this seems prone to bugs. Another way is to interact with the cache, but this seems unpredictable. Any other ways possible?
I've settled on using a QNetworkReply Proxy.