26 lines
768 B
YAML
26 lines
768 B
YAML
|
id: api-abstract-website-scraping
|
||
|
|
||
|
info:
|
||
|
name: Abstract Api Web Scraping Test
|
||
|
author: daffainfo
|
||
|
severity: info
|
||
|
description: Scrape and extract data from any website, with powerful options like proxy / browser customization, CAPTCHA handling, ad blocking, and more.
|
||
|
reference:
|
||
|
- https://www.abstractapi.com/api/web-scraping-api
|
||
|
- https://github.com/daffainfo/all-about-apikey/tree/main/abstract-website-scraping
|
||
|
tags: token-spray,abstractapi
|
||
|
|
||
|
self-contained: true
|
||
|
requests:
|
||
|
- method: GET
|
||
|
path:
|
||
|
- "https://scrape.abstractapi.com/v1/?api_key={{token}}&url=https://test.test"
|
||
|
|
||
|
matchers:
|
||
|
- type: word
|
||
|
part: body
|
||
|
words:
|
||
|
- '"code":"validation_error"'
|
||
|
- 'Reached error page'
|
||
|
condition: and
|