Extract card-style elements from web pages
{ "url": "https://example.com/products", "card_selector": ".product-card", "fields": { "title": ".card-title", "price": ".price", "image": "img.product-image", "description": ".description" } }
{ "url": "https://example.com/products", "card_selector": ".product-card", "fields": { "title": { "selector": ".card-title", "attribute": "text", "transform": "trim" }, "price": { "selector": ".price", "attribute": "text", "transform": "number" }, "image": { "selector": "img.product-image", "attribute": "src" }, "rating": { "selector": ".rating", "attribute": "data-rating" } }, "pagination": { "enabled": true, "next_button": ".pagination .next", "max_pages": 5 } }
{ "field": { "selector": ".text-content", "attribute": "text", "transform": ["trim", "lowercase"] } }
{ "field": { "selector": "img", "attributes": ["src", "alt"], "download": true } }
{ "field": { "selector": "a", "attributes": ["href", "title"], "follow": true } }
{ "transformations": { "price": ["remove_currency", "to_number"], "description": ["trim", "remove_html"] } }
{ "validation": { "required": ["title", "price"], "types": { "price": "number", "rating": "float" } } }