How to load the content of a html link into a QStringList
Hello
I have a main html page which contains links.
Main File: http://path1/path2/mainfile.html
Link1
Link2
How to programmatically load the text content under Link1 (http://path1/path2/file1.html) and Link2 (http://path1/path2/file2.html) into a QStringList?
Can I keep the links as links if says, file1 contains also some links?
Thanks in advance for the hints;
Mut.
Re: How to load the content of a html link into a QStringList
You will have to use QNetworkAccessManager, QNetworkRequest, QNetworkReply to do a QNetworkAccessManager::get request for each link and then read the response from each get request.