Error when use Scrape Endpoint
So I am playing around with the scrape endpoint and I keep getting:
The API still does not recognize jsonOptions, meaning that despite being documented, it is not supported in the current implementation.
Anytime I try to use the JSON format I get an error. Not sure why.
1 Reply
Instead of using the JSON format, you can pass the parameters as URL-encoded key-value pairs in the request.
For example, instead of using jsonOptions, you can pass the parameters as individual query parameters like url=example.com&selector=".job-title".