Skip to main content

LinkSelector

A CSS/jQuery-style selector defining which element attribute to extract as a link URL.

Notes

Defines a CSS/jQuery-style selector and the element attribute or property to extract as a link URL. Used by DOM-based link extractors to locate and retrieve href, src, or other URL-bearing attributes from HTML elements.

Usage

extract: string
selector: string

Properties

PropertyTypeRequiredDefault
extractstringNo-
selectorstringNo-

Property Details

extract

Specifies what to extract from the matched DOM element (e.g., text, html, outerHtml, ownText, data, id, tagName, val, className, cssSelector, or attr(attributeKey)).

selector

A CSS or jQuery-like selector expression identifying which DOM elements to target.