From f26c121376f7139f3d7717911947affc8557d16a Mon Sep 17 00:00:00 2001 From: Dhiyaneshwaran Date: Sun, 7 Jan 2024 21:01:05 +0530 Subject: [PATCH] fix headless --- http/osint/piratebay.yaml | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/http/osint/piratebay.yaml b/http/osint/piratebay.yaml index d067d2b481..8b9de0870e 100644 --- a/http/osint/piratebay.yaml +++ b/http/osint/piratebay.yaml @@ -15,17 +15,14 @@ info: self-contained: true -http: - - method: GET - path: - - "https://thepiratebay.org/search.php?q=user:{{user}}' +headless: + - steps: + - args: + url: 'https://thepiratebay.org/search.php?q=user:{{user}}' + action: navigate + - action: waitload - matchers-condition: and matchers: - type: dsl dsl: - "!contains(data,'No results returned')" - - - type: status - status: - - 200