htmlq - jq สำหรับ HTML
(github.com)-
เครื่องมือ CLI สำหรับดึงเนื้อหาจากไฟล์ HTML โดยใช้ CSS selector
-
โอเพนซอร์สที่พัฒนาด้วย Rust
curl URL | htmlq '#get-help' // ค้นหาด้วย ID
htmlq --attribute href a // ดึงลิงก์ทั้งหมด
htmlq --text .main // ดึงข้อความ
1 ความคิดเห็น
jq - "sed/awk สำหรับ JSON" https://stedolan.github.io/jq/
SQ - "jq สำหรับข้อมูลเชิงสัมพันธ์" https://th.news.hada.io/topic?id=3841
Modern Unix - ตัวแทนสมัยใหม่ของคำสั่ง Unix https://th.news.hada.io/topic?id=4784