zfcsoftware / cf-clearance-scraper

This library was created for testing and training purposes to retrieve the page source of websites, create Cloudflare Turnstile tokens and create Cloudflare WAF sessions.
MIT License
226 stars 37 forks source link

Could not start Xvfb #2

Closed ahmad22aot closed 4 months ago

ahmad22aot commented 4 months ago

the script doesn't work in windows 11 , getting this error "Could not start Xvfb"

zfcsoftware commented 4 months ago

Hi, it is only set for linux. This is because Cloudflare does not allow switching when there is no virtual or real screen. In windows the browser will be visible on every request. I recommend using WSL.