Skip to content

Commit efacc4a

Browse files
committed
add a mention for .selector
1 parent 76905b0 commit efacc4a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ const apiResponse = await client.scrape(
3838
}),
3939
);
4040
console.log(apiResponse.result.content); // html content
41+
// Parse HTML directly with SDK (through cheerio)
42+
console.log(apiResponse.result.selector('h3').text());
4143
```
4244

4345
For more see [/examples](/examples/) directory.

0 commit comments

Comments
 (0)