Skip to main content

Module url_class

Module url_class 

Source
Expand description

Pure URL classification predicates.

These helpers are plain string/regex matching with no browser, network, or async dependency, so this module is always compiled regardless of the browser / browser-launcher feature flags. Keeping them here lets the CLI fetch ladder branch on URL shape (e.g. the authed DOM-render short-circuit) without pulling in โ€” or feature-gating against โ€” the browser stack.

Functionsยง

is_x_article_url
Returns true when url is an X (Twitter) long-form Article URL.