Skip to content

Commit a76d3b7

Browse files
authored
Update scrape-endpoint.mdx
1 parent b3aab93 commit a76d3b7

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/content/docs/browser-rendering/rest-api/scrape-endpoint.mdx

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ sidebar:
55
order: 7
66
---
77

8-
import { Tabs, TabItem } from "~/components";
8+
import { Tabs, TabItem, Render } from "~/components";
99

1010
The `/scrape` endpoint extracts structured data from specific elements on a webpage, returning details such as element dimensions and inner HTML.
1111

@@ -101,3 +101,10 @@ Many more options exist, like setting HTTP credentials using `authenticate`, set
101101
- `html` _(string)_ - Inner HTML of the element.
102102
- `attributes` _(array of objects)_ - List of extracted attributes such as `href` for links.
103103
- `height`, `width`, `top`, `left` _(number)_ - Position and dimensions of the element.
104+
105+
## Advanced Usage
106+
107+
<Render
108+
file="setting-custom-user-agent"
109+
product="browser-rendering"
110+
/>

0 commit comments

Comments
 (0)