【文件属性】:
文件名称:pick:从 html 源中“挑选”东西
文件大小:2KB
文件格式:ZIP
更新时间:2021-07-07 01:48:49
Go
挑选
pick是一个命令行程序,它允许您从 html 中抓取和“挑选”东西。
安装
$ go get github.com/yields/pick
例子
# pick [removed]s and output sources.
curl --silent https://github.com | pick script :src
# pick <title> and output it's text.
echo " <title>foo</title> " | pick title --text
# pick all 's in .
curl --silent https://github.com | pick a | pick span
curl --silent https://github.com | pick " a span "
# pick all [src
【文件预览】:
pick-master
----main.go(2KB)
----Readme.md(950B)
----Makefile(44B)
----.gitignore(5B)