❓ Question: How to Extract any Properties (outerHTML, outerText, etc) of a element? #1275
Unanswered
thuddo23
asked this question in
Forums - Q&A
Replies: 1 comment
-
|
The supported field types for For your use case, use Here's your corrected schema: def get_product_detail_schema():
return {
"name": "Amazon Product Detail",
"baseSelector": "#dp-container",
"fields": [
{
"name": "Table Description",
"selector": "#productDetails_techSpec_section_1",
"type": "html",
"default": ""
}
]
}You can also chain types as a pipeline — for example |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
I'm trying to extract structured data from an HTML table on an Amazon product page. The table has the following CSS selector:
I want my schema like this:
🔍 Question:
Please instruct me crawl the outerHTML or any properties of element.
Beta Was this translation helpful? Give feedback.
All reactions