pup
Parsing HTML at the command line
File Explorer
Download Latest Version (.zip)- test.yaml
- cmds.txt
- expected_output.txt
- index.html
- README.md
- run.py
- test
- .gitignore
- display.go
- go.mod
- go.sum
- LICENSE
- parse.go
- parse_test.go
- pup.go
- pup.rb
- README.md
- selector.go
# Installation Guide
1. Get the code
git clone https://github.com/ericchiang/pup
Downloads the entire project code from GitHub to your computer.
cd pup
Moves into the project folder you just downloaded.
2. Official Install Script
Easy RecommendedPrerequisites
- Homebrew A package manager for macOS/Linux.
brew install https://raw.githubusercontent.com/EricChiang/pup/master/pup.rb
Installs the pre-built package via Homebrew β no source build required.
After installing, open a new terminal and run the program's version command (e.g. --version) to confirm it worked.
Pulled directly from this repo's README.
3. Go
MediumPrerequisites
go build ./...
Compiles the Go program into an executable.
go run .
Runs the Go program directly without a separate build step.
If the build finishes without errors, it worked. If you used go run ., check the terminal output.
// repository documentation
Was this content helpful?
(0 ratings)
