Xewdy444/CF-Clearance-Scraper

Failed to retrieve cf_clearance cookie.

Closed this issue · 4 comments

I get this error message when trying to run the main.py file. I do have the playwright 1.28 version:

$ python3.9 main.py -u https://nowsecure.nl -f cookies.json -v
[23:27:32] [INFO] Launching headless browser...
[23:27:35] [INFO] Going to https://nowsecure.nl...
[23:27:35] [INFO] Solving cloudflare challenge [Managed]...
[23:28:18] [ERROR] Failed to retrieve cf_clearance cookie.

For the time being, try using a different python version. I'll try to get a fix out soon.

Cool! which version of python would you recommend me to use? (I currently use 3.9)

I would recommend 3.8 or 3.11

I'm going to close this issue because I'm not really sure why it is occurring.