Update
This commit is contained in:
19
Crawlshot API/Web Crawling/Get Crawl Status - Results.bru
Normal file
19
Crawlshot API/Web Crawling/Get Crawl Status - Results.bru
Normal file
@@ -0,0 +1,19 @@
|
||||
meta {
|
||||
name: Get Crawl Status - Results
|
||||
type: http
|
||||
seq: 2
|
||||
}
|
||||
|
||||
get {
|
||||
url: {{base_url}}/api/crawl/:uuid
|
||||
body: none
|
||||
auth: bearer
|
||||
}
|
||||
|
||||
headers {
|
||||
Accept: application/json
|
||||
}
|
||||
|
||||
auth:bearer {
|
||||
token: {{api_token}}
|
||||
}
|
||||
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
|
||||
}
|
||||
}
|
||||
19
Crawlshot API/Web Crawling/List Crawl Jobs.bru
Normal file
19
Crawlshot API/Web Crawling/List Crawl Jobs.bru
Normal file
@@ -0,0 +1,19 @@
|
||||
meta {
|
||||
name: List Crawl Jobs
|
||||
type: http
|
||||
seq: 3
|
||||
}
|
||||
|
||||
get {
|
||||
url: {{base_url}}/api/crawl
|
||||
body: none
|
||||
auth: bearer
|
||||
}
|
||||
|
||||
headers {
|
||||
Accept: application/json
|
||||
}
|
||||
|
||||
auth:bearer {
|
||||
token: {{api_token}}
|
||||
}
|
||||
Reference in New Issue
Block a user