bash命令将html页面转换为文本文件 [英] bash command to convert html page to a text file
本文介绍了bash命令将html页面转换为文本文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我是linux的初学者.您能帮我如何将html页面转换为文本文件吗?文本文件将从网页中删除所有图像和链接.我只想使用bash命令,而不要使用html到文本转换工具.举例来说,我想将Google搜索结果的第一页转换为计算机".
I am a beginner to linux. Would you please help me how to convert an html page to a text file. the text file will remove any images and links from the webpage. I want to use only bash commands and not html to text converting tools. As an example, i want to convert the first page google search results for "computers".
谢谢
推荐答案
我使用了 python-boilerpipe 到目前为止,效果很好...
I used python-boilerpipe and it works very well, so far...
这篇关于bash命令将html页面转换为文本文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文