简体   繁体   中英

Saving web page HTM as Text file Programmatically

I need to save particular page HTM as a text file automatically, for example after every 30 seconds. Programically Example - page : csgo2x.com, then I press Ctrl + S I can save this file into my PC with save type of text .

在此处输入图片说明

But how to save it programmatically with c++ or c#?

Use Qt Library and QWebkit. Create QWebFrame object. Use QWebFrame::load function to navigate url. Call QWebFrame::toHtml function to obtain html. Use QFile to save to disk.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM