JimmyLaurent / cloudflare-scraper

A package to bypass Cloudflare's protection
MIT License
286 stars 30 forks source link

how to get cookies and put it in default request? #22

Open asd5adssadassad opened 3 years ago

asd5adssadassad commented 3 years ago

I got the following situation: I receive cookies using your library, and then I need to send cookies in a regular request, for example, via request.get(), but when I do this these cookies do not pass. maybe i need to do something with jar? even though I tried...

Revadike commented 3 years ago

Maybe this helps https://github.com/puppeteer/puppeteer/blob/v6.0.0/docs/api.md#pagecookiesurls