id: api-scraperbox

info:
  name: ScraperBox API Test
  author: daffainfo
  severity: info
  description: Undetectable web scraping API
  reference:
    - https://scraperbox.com/documentation
    - https://github.com/daffainfo/all-about-apikey/tree/main/scraperbox
  metadata:
    max-request: 1
  tags: token-spray,scraperbox

self-contained: true

http:
  - method: GET
    path:
      - "https://api.scraperbox.com/scrape?token={{token}}&url=https://example.com"

    matchers-condition: and
    matchers:
      - type: status
        status:
          - 304

      - type: word
        part: body
        words:
          - '<title>Example Domain</title>'

# digest: 4a0a0047304502207f36a4754fda5d47376179286a5929f95ecb39833d01276df125df4cbd5b3712022100e471d820cf8e65b92617364b2126738d2dcefb072e6073ae15af81d922a347f2:922c64590222798bb761d5b6d8e72950
