zfcsoftware / cf-clearance-scraper

This package provides an api that returns cookies (cf-clearance) that you can request on a website protected by Cloudflare WAF (corporate or normal) without being blocked by WAF.
MIT License
203 stars 28 forks source link

Status 403 while using cf-clearance cookies #19

Closed desoforgit closed 2 weeks ago

desoforgit commented 1 month ago

Site: https://www.lechameau.com/iris-socks-noir-13188

I used the cf-clearance-scraper to retrieve the cookies and headers

Then made a get request in py with those cookies and headers

But I receive the cloudflare challenge in response (Status code: 403)

I'm doing it on the same device with same ip

ThevenRexOff commented 1 month ago

Use the same UserAgent

desoforgit commented 1 month ago

Use the same UserAgent

I made sure to use the same cookies, useragent and accept-language but I'm still facing the same issue...

Is it because the cloudflare is non interactive?

If it works for u can share the site where It works because I can't find a site where it works.

desoforgit commented 1 month ago

I tested it a bit more ..it works on https://www.nopecha/demo/cloudflare but it doesn't work on a few sites like:

https://www.polyperformance.com/ https://www.lechameau.com/

I made sure to use all the headers/ip/useragent but still the response code is 403

roimee6 commented 1 month ago

You need to use a JA3 spoofer sometimes, use cycletls for that

you need to have everything linked:

zfcsoftware commented 2 weeks ago

Tls fingerprint is being checked. https://www.npmjs.com/package/cycletls If you send a request with this library, you will not have any problems.