slurp包将soup4美化为命令行。
beautifulsoup4-slurp的Python项目详细描述
畅饮美丽的汤
==
beautifulsoup4打包到命令行工具中。
installation
--
git clone https://github.com/peterhil/slurp.git
cd
(sudo)python setyp.p y安装python setyp.py安装
用法
-
show帮助:
slurp-h
slurp-i bookmarks.html-p‘html5lib’-y
slurp-i bookmarks.html-p‘lxml’-p‘lxml’-y
show-br/>
>
写入漂亮的打印输出到文件:
导入slurp:
……_ github:https://github.com/peterhil/slurp/
。_ PYPI:http://pypi.python.org/pypi/beautifulsoup4 slurp
license
----
copyright(c)2015,peter hillerstrom<;peter.hillerstrom@gmail.com>;
保留所有权利。此软件是根据麻省理工学院许可证授权的。
有关完整的版权和许可证信息,请查看随此源代码分发的许可证文件。
==
beautifulsoup4打包到命令行工具中。
installation
--
git clone https://github.com/peterhil/slurp.git
cd
(sudo)python setyp.p y安装python setyp.py安装
用法
-
show帮助:
slurp-h
slurp-i bookmarks.html-p‘html5lib’-y
slurp-i bookmarks.html-p‘lxml’-p‘lxml’-y
show-br/>
>
写入漂亮的打印输出到文件:
导入slurp:
……_ github:https://github.com/peterhil/slurp/
。_ PYPI:http://pypi.python.org/pypi/beautifulsoup4 slurp
license
----
copyright(c)2015,peter hillerstrom<;peter.hillerstrom@gmail.com>;
保留所有权利。此软件是根据麻省理工学院许可证授权的。
有关完整的版权和许可证信息,请查看随此源代码分发的许可证文件。