domql
CLI Tool • January 27, 2026
SQL syntax for DOM querying. Query web pages like databases using familiar SQL commands. Supports WHERE clauses, aggregations, ORDER BY, LIMIT, and multiple output formats.
TypeScript
Bun
Playwright
Web Scraping
CLI
SQL
Key Features
- •SQL syntax for web scraping (SELECT, FROM, WHERE, ORDER BY, LIMIT)
- •WHERE clause operators (=, !=, >, <, >=, <=, LIKE, IN, REGEXP)
- •Aggregation functions (COUNT, AVG, MIN, MAX, SUM)
- •Pattern matching with LIKE and regular expressions
- •Output formats (table, JSON, CSV, JSONL)
- •JavaScript rendering control
- •Configurable timeouts and wait selectors
- •Pipe-friendly JSON output for further processing