what library do I have to use to get data from website.
For example I have such a case:
<html>
<body>
<div class = "MyClass">
<div class = "MyClass2"> </div>
</div>
</body>
</html>
And how do I get the name of the second class(Myclass2
), what method do I have to use?
I just wanna mention that in c# it was very easy here is more complicated in my opinion.
I was using QWebElement
class but I haven't found proper method.
Greetings
You can use
QWebPage
class which provides an object to view and edit web documents. UsingQWebElement
you can access to DOM elements in aQWebFrame
: