Parsing HTML at the command line
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Go to file
ericchiang 1b27120ea8
Initial commit
10 years ago
selector Initial commit 10 years ago
.gitignore Initial commit 10 years ago
README.md Initial commit 10 years ago
main.go Initial commit 10 years ago

README.md

pup

Install

go get github.com/ericchiang/pup

TODO:

  • Attribute css selector.
  • Take input from file (-f)
  • Set max print level flag (-l)
  • Print attribute value rather than html ({href})
  • Print result as JSON (--json)