cssq

Filter HTML with CSS.

Usage

cssq [OPTIONS] SELECTOR [FILE]

Options

-d, --debug

Enable debug logging.

--debug-selector

Enable SoupSieve debug logging.

-l, --limit <limit>

Limit number of results.

-j, --json

Output as JSON lines.

-s, --strip

Strip whitespace from text content.

-t, --text

Output content within the HTML tags only.

Arguments

SELECTOR

Required argument

FILE

Optional argument