Skip to content

how extractors all href convert url path to next request #1860

Closed Answered by ehsandeep
hktalent asked this question in Q&A
Discussion options

You must be logged in to vote

@hktalent You can do it using iterate-all attribute, for example:

requests:
  - path:
      - https://example.com
      - https://example.com/{{URLPath}}

    iterate-all: true
    extractors:
      - type: regex
        part: body
        name: URLPath
        group: 1
        regex:
          - 'href="(.*)"'
        internal: true 

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@hktalent
Comment options

Answer selected by ehsandeep
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants