bash命令隐蔽html页面到一个文本文件 [英] bash command to covert html page to a text file

查看:131
本文介绍了bash命令隐蔽html页面到一个文本文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是一个初学者到Linux。你能帮我如何在HTML页面转换为文本文件。文本文件会从网页上删除任何图像和链接。我希望只使用bash的命令,而不是HTML来文本转换工具。举个例子,我要转换的第一页谷歌搜索结果的电脑。

感谢您


解决方案

我用中的python-boilerpipe >和它的作品非常好,到目前为止...

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".

Thank you

解决方案

I used python-boilerpipe and it works very well, so far...

这篇关于bash命令隐蔽html页面到一个文本文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆