8P by xguru 2021-09-08 | favorite | 댓글 1개

- CSS 셀렉터를 이용해서 HTML 파일에서 내용을 추출 하는 CLI 도구
- Rust 오픈소스

> curl URL | htmlq '#get-help' // ID로 찾기
> htmlq --attribute href a // 모든 링크 추출
> htmlq --text .main // 텍스트 추출

- jq - "sed/awk for JSON" https://stedolan.github.io/jq/
- SQ - "jq for relational data" https://news.hada.io/topic?id=3841
- Modern Unix - 유닉스 명령들의 최신 대체제 https://news.hada.io/topic?id=4784