Update
This commit is contained in:
32
Crawlshot API/Web Crawling/Initiate Crawl Job.bru
Normal file
32
Crawlshot API/Web Crawling/Initiate Crawl Job.bru
Normal file
@@ -0,0 +1,32 @@
|
||||
meta {
|
||||
name: Initiate Crawl Job
|
||||
type: http
|
||||
seq: 1
|
||||
}
|
||||
|
||||
post {
|
||||
url: {{base_url}}/api/crawl
|
||||
body: json
|
||||
auth: bearer
|
||||
}
|
||||
|
||||
headers {
|
||||
Accept: application/json
|
||||
Content-Type: application/json
|
||||
}
|
||||
|
||||
auth:bearer {
|
||||
token: {{api_token}}
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"url": "https://example.com",
|
||||
"timeout": 30,
|
||||
"delay": 2000,
|
||||
"block_ads": true,
|
||||
"block_cookie_banners": true,
|
||||
"block_trackers": true,
|
||||
"wait_until_network_idle": true
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user