37 lines
948 B
YAML
37 lines
948 B
YAML
id: api-scrapingant
|
|
|
|
info:
|
|
name: ScrapingAnt API Test
|
|
author: daffainfo
|
|
severity: info
|
|
description: Headless Chrome scraping with a simple API
|
|
reference:
|
|
- https://docs.scrapingant.com/
|
|
- https://github.com/daffainfo/all-about-apikey/tree/main/scrapingant
|
|
metadata:
|
|
max-request: 1
|
|
tags: token-spray,scrapingant
|
|
|
|
self-contained: true
|
|
|
|
http:
|
|
- raw:
|
|
- |
|
|
POST https://api.scrapingant.com/v1/general HTTP/1.1
|
|
Host: api.scrapingant.com
|
|
x-api-key: {{token}}
|
|
Content-Type: application/json
|
|
|
|
{"url": "https://example.com"}
|
|
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- '"content"'
|
|
- '"cookies"'
|
|
- '"status_code"'
|
|
condition: and
|
|
|
|
# digest: 490a0046304402200e65aa9c4e1e016b9b98eee1d51f0a6a711ad509ecf9beb4ca46be64a4daa19d02201f4dd5c3cea44569d06979e257bcf3cfbe8567bb5d1858b57028be0dd9f274aa:922c64590222798bb761d5b6d8e72950
|