Skip to content

Use extracted data to dynamically build request URLs#208

Merged
otsch merged 2 commits intomainfrom
feature/static-urls-and-vars
Apr 10, 2025
Merged

Use extracted data to dynamically build request URLs#208
otsch merged 2 commits intomainfrom
feature/static-urls-and-vars

Conversation

@otsch
Copy link
Member

@otsch otsch commented Apr 10, 2025

Http steps now have a new staticUrl() method, and you can also use variables within that static URL - as well as in request headers and in the body - like
https://www.example.com/foo/[crwl:some_extracted_property]. These variables will be replaced with the corresponding properties from input data (also works with kept data).

otsch added 2 commits April 10, 2025 09:45
`Http` steps now have a new `staticUrl()` method, and you can also use
variables within that static URL - as well as in request headers and in
the body - like
`https://www.example.com/foo/[crwl:some_extracted_property]`. These
variables will be replaced with the corresponding properties from input
data (also works with kept data).
@otsch otsch merged commit fd6aac5 into main Apr 10, 2025
6 checks passed
@otsch otsch deleted the feature/static-urls-and-vars branch April 10, 2025 08:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant