pick 从html源中“挑选”东西
挑选pick是一个命令行程序,它允许您从html中抓取和“挑选”东西。安装$ go get github.com/yields/pick例子# pick [removed]s and output sources. curl --silent https://github.com | pick script :src # pick and output it's text. echo " foo " | 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
用户评论