Property Types
Each dataset property has a type that determines what data to extract.
Available Types
Section titled “Available Types”| Type | Description | Example |
|---|---|---|
text |
Text content of the element | Product name, description |
html |
Inner HTML of the element | Formatted content |
attribute |
Value of an HTML attribute | href, src, data-id |
property |
Value of a DOM property | value, checked, innerText |
count |
Number of matching elements | Number of reviews |
page_url |
Current page URL | Page URL for each record |
selector_path |
CSS selector path of the element | Element’s CSS path |
list |
Nested list of sub-items | Reviews for each product |
index |
Row number (1-based) | Row number in the output |
Extracts the visible text content of an element.
Selector: css=.product-nameType: textExtracts the inner HTML (including tags) of an element.
Selector: css=.product-descriptionType: htmlattribute
Section titled “attribute”Extracts the value of a specific HTML attribute.
Selector: css=.product-linkType: attributeAttribute: hrefCommon attributes:
| Attribute | Description |
|---|---|
href |
Link URL |
src |
Image/media source URL |
data-id |
Custom data attribute |
alt |
Image alt text |
title |
Element title |
placeholder |
Input placeholder |
property
Section titled “property”Extracts a JavaScript DOM property.
Selector: css=.price-inputType: propertyProperty: valueCounts the number of elements matching the selector.
Selector: css=.reviewType: countpage_url
Section titled “page_url”Returns the current page URL for each record. No selector needed.
Type: page_urlselector_path
Section titled “selector_path”Returns the CSS selector path of the matched element. Useful for debugging.
Selector: css=.product-cardType: selector_pathExtracts a nested list of sub-items. Add sub-properties inside the list property.
Selector: css=.reviewType: listSub-properties: - reviewer_name: css=.reviewer (text) - rating: css=.stars (attribute: data-rating) - comment: css=.comment (text)Returns the row number (1-based) for each record. No selector needed.
Type: indexDownload Option
Section titled “Download Option”For properties that contain URLs (e.g., image URLs), you can enable the Download option. When enabled, RTILA automatically downloads the file and stores it locally.
Selector: css=.product-imageType: attributeAttribute: srcDownload: ✅The downloaded file path is stored in the output instead of the URL.