2022-06-18 03:54:41 +00:00
|
|
|
id: api-scrapingant
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: ScrapingAnt API Test
|
|
|
|
author: daffainfo
|
|
|
|
severity: info
|
2022-07-25 06:05:11 +00:00
|
|
|
description: Headless Chrome scraping with a simple API
|
2022-06-18 03:54:41 +00:00
|
|
|
reference:
|
|
|
|
- https://docs.scrapingant.com/
|
2022-07-25 06:05:11 +00:00
|
|
|
- https://github.com/daffainfo/all-about-apikey/tree/main/scrapingant
|
2022-06-18 03:54:41 +00:00
|
|
|
tags: token-spray,scrapingant
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 1
|
2022-06-18 03:54:41 +00:00
|
|
|
|
|
|
|
self-contained: true
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2022-06-18 03:54:41 +00:00
|
|
|
- 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"'
|
2022-06-21 04:20:36 +00:00
|
|
|
condition: and
|