I am trying to extract the images from the given web page. I have gone through “Simple Selector Example” and “DOM Traversal Example” . But, they refer text-things not image. I have made a code to get a QNetWorkReply by sending QNetworkRequest through QNetworkManager. But, I can’t get how to bring images using it. Qt-Webkit enlightened ones are asked to shed a light on this.
Share
QWebElement has tagName and attributeNames, you want to search for an
imgtag with asrcattribute.You can download URLs with QNetworkAccessManager.