C
C
crybabyyy2021-08-10 16:47:33
Scrapy
crybabyyy, 2021-08-10 16:47:33

How to parse data and send a POST request if the data is updated with Python requests?

I want to parse the token and send a post request. But every time the page is refreshed and every single request is sent, the token changes. Please tell me what to do?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
soremix, 2021-08-10
@soremix

Parse before every request and insert into the request
https://portswigger.net/web-security/csrf/tokens

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question