保存网页内容到txt
2008-09-10 17:49
232 查看
procedure SaveHtmlContentToTxt(htmlName,txtName:string);
var
lpf:IPersistFile;
begin
WebBrowser1.Navigate(htmlName);
lpf:=WebBrowser1.Document sa IPersistFile;
lpf.Save(pchar(txtName),True);
end;
var
lpf:IPersistFile;
begin
WebBrowser1.Navigate(htmlName);
lpf:=WebBrowser1.Document sa IPersistFile;
lpf.Save(pchar(txtName),True);
end;
相关文章推荐
- 保存网页内容到txt
- 将网页内容保存为字符串以及根据字符串显示成网页
- 如何用有道云笔记实现网页内容保存、网页剪报
- libcurl保存网页内容以及图片
- 读取网页内容保存到文件
- 如何将文本框里面的内容保存到txt文件中
- C++将txt文件内容保存到数组
- 如何保存想要的网页内容
- 提取EXCEL表格中特定列内容保存至txt文档
- 获取网页内容,并保存
- 网文快捕(CyberArticle) 快速保存网页内容,知识文档管理利器
- Ueditor编辑保存的内容网页显示时背景等信息无效果---参考UEditor官方文档之编辑内容展示
- 用Canvas实现截取网页内容保存为图片
- 如何用java实现在网页中保存html编辑器 编辑好的 html 文件?!(如blog里发文章的时候把要发表的内容以html文件的形式保存到服务器上?)
- 用xpath方法提取网页内容保存为json格式
- wps怎么保存网页上的内容通过在线素材一键实现
- 谷歌浏览器怎样把网页全部内容保存为一个文件
- Java中读取一个TXT文件中的每行内容的前5个字符,并保存到另一个TXT文件中。
- 获取网页内容,并保存
- 如何把Python爬取的网页保存为.txt文件