- 授权协议: MIT
- 开发语言: Google Go
- 操作系统: 跨平台
- 软件首页: https://github.com/EricChiang/pup
- 软件文档: https://github.com/EricChiang/pup
软件介绍
pup 是一个命令行的 HTML 内容解析工具,直接从 stdin 读入内容,并将解析结果输出到 stdout,用户可以使用 CSS 选择器进行内容的过滤。
基本使用方法:
$ cat index.html | pup [selectors and flags]
$ pup < index.html [selectors and flags]
$ curl http://www.pro-football-reference.com/years/2013/games.htm | \
pup table#games a[href*=boxscores] attr{href}
$ pup < robots.html title
<title>
Robots exclusion standard - Wikipedia, the free encyclopedia
</title>
$ pup < robots.html span#See_also
<span class="mw-headline" id="See_also">
See also
</span>
Build Your Own Web Site the Right Way Using HTML & CSS
Ian Lloyd / SitePoint / 2006-05-02 / USD 29.95
Build Your Own Website The Right Way Using HTML & CSS teaches web development from scratch, without assuming any previous knowledge of HTML, CSS or web development techniques. This book introduces you......一起来看看 《Build Your Own Web Site the Right Way Using HTML & CSS》 这本书的介绍吧!
