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.