Closed TadaWasRaped closed 4 years ago
@TadaWasRaped You need to first create a custom jar, pass it to the request and after it was made, read from the jar:
https://github.com/codemanki/cloudscraper/blob/master/docs/examples/session-persistence.js#L9
Something like this:
let jar = cloudscraper.jar();
cloudscraper = cloudscraper.defaults({ jar});
cloudscraper.get(uri).then(() => console.log(jar));
Is there a way to get the cloudflare cookies after doing a request? Can't seem to find anything, might be me being retarded