I want to get data from a website which it's contents are loading dynamically with JQuery and update every 5 minutes.The website don't have any API, So i have to get it's HTML content and parse it to get what i need. The problem is that the source HTML of the website doese not have the content which is loaded dynamically. I want to do this in c++/Qt. is this possible?
I want to get content which is generated by jquery and it is not available in page source.
QDomDocumenton the result ofQNetworkRequest,QNetworkReply,QNetworkAccessManagerQDomDocumentcannot parse HTML. It's only for XML (and the documentation doen't even recommend using in the first place.)QDomDocumentand failed when I tried to parse "www.wikipedia.org". Refer to this document, it is old, but may be useful. It suggests some libraries to parse your HTML, (but you may be still need to read it using QNetworkAccessManager, QNetworkRequest, QNetworkReply)