Set Env from response body html #898
Unanswered
shawnferry
asked this question in
Q&A
Replies: 2 comments
-
Hi @shawnferry I think you should use custom filter and indexOf function Custom filter - Then in custom filter
the above is rough idea how to extract text, I will research and see if there is any html library for extracting text. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Now you can import any Node module in Custom Filters, If you there is any node module for html parsing you can use it. See all features released Please let me know your feedback. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I think I'm missing something that should be simple.
I need to pull a value from an initial html response prior to authenticating but I can't figure out where I'm going wrong.
In a dev tools console I can get the value with
document.querySelector("form[action='/api-auth/login/'] > input[name=csrfmiddlewaretoken]").value
However, I can't figure out how to extract the same value from the html body.
Beta Was this translation helpful? Give feedback.
All reactions