Unable to get cf_clearance cookie #4876
marcussacana
started this conversation in
General
Replies: 1 comment 1 reply
-
I'm suspecting the problem is the cookie be set as |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to get all cookies from X instance to copy it to another RequestContext, after the user solve the cloudflare challange a cf_clearance is created with those headers:
Then I wrote this function to capture the cookies:
But as you can see, there are no cf_clearance cookie
Currently I was able to capture that cookie by using the
RequestHandler
and implementing a entirely manual http request for the browser, then sometime in the cloudflare startup thecf_clearance
can be collected from the set-cookie header.But this is not the best soluction because is too intrusive, my http request implementation isn't the same of the browser therefore the user has more trouble to solve the cloudflare challange.
Beta Was this translation helpful? Give feedback.
All reactions