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
|
|
|
|
|
|
|
|
self-contained: true
|
|
|
|
requests:
|
|
|
|
- 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
|