@@ -31,7 +31,7 @@ curl https://agents.parsera.org/v1/generate \
3131| ----------------| ----------| --------------| --------------------------------------------|
3232| ` name ` | ` string ` | - | Name of the agent |
3333| ` url ` | ` string ` | - | Website URL |
34- | ` attributes ` | ` array ` | - | A map of ` name ` - ` description ` pairs of data fields to extract from the webpage |
34+ | ` attributes ` | ` object ` | - | A map of ` name ` - ` description ` pairs of data fields to extract from the webpage |
3535| ` proxy_country ` | ` string ` | ` UnitedStates ` | Proxy country, see [ Proxy Countries] ( proxy.md ) |
3636| ` cookies ` | ` array ` | Empty | Cookies to use during extraction, see [ Cookies] ( cookies.md ) |
3737
@@ -109,7 +109,7 @@ It's recommended to set the `proxy_country` parameter to a specific country sinc
109109| Parameter | Type | Default | Description |
110110| ----------------| ----------| --------------| --------------------------------------------------|
111111| ` url ` | ` string ` | - | URL of the webpage to extract data from |
112- | ` attributes ` | ` array ` | - | A map of ` name ` - ` description ` pairs of data fields to extract from the webpage |
112+ | ` attributes ` | ` object ` | - | A map of ` name ` - ` description ` pairs of data fields to extract from the webpage |
113113| ` mode ` | ` string ` | ` standard ` | Mode of the extractor, ` standard ` or ` precision ` . For details, see [ Precision mode] ( precision-mode.md ) |
114114| ` proxy_country ` | ` string ` | ` UnitedStates ` | Proxy country, see [ Proxy Countries] ( proxy.md ) |
115115| ` cookies ` | ` array ` | Empty | Cookies to use during extraction, see [ Cookies] ( cookies.md ) |
@@ -136,7 +136,7 @@ curl https://api.parsera.org/v1/parse \
136136| Parameter | Type | Default | Description |
137137| ----------------| ----------| --------------| --------------------------------------------------|
138138| ` content ` | ` string ` | - | Raw HTML or text content to extract data from |
139- | ` attributes ` | ` array ` | - | A map of ` name ` - ` description ` pairs of data fields to extract from the webpage |
139+ | ` attributes ` | ` object ` | - | A map of ` name ` - ` description ` pairs of data fields to extract from the webpage |
140140| ` mode ` | ` string ` | ` standard ` | Mode of the extractor, ` standard ` or ` precision ` . For details, see [ Precision mode] ( precision-mode.md ) |
141141
142142
0 commit comments