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
- YAML
- JSON
- XML
extract: string
selector: string
{
"extract": "string",
"selector": "string"
}
<linkSelector>
<extract>string</extract>
<selector>string</selector>
</linkSelector>
Properties
| Property | Type | Required | Default |
|---|---|---|---|
extract | string | No | - |
selector | string | No | - |
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.