Closed ghost closed 5 years ago
🤔 for some reason I thought this was for cloudflare :D I will amend Readme
I just realized a couple of problems with the current code.
Sucuri
instead of cloudflare
.location.reload
whereas we only provide a fake document.location.reload
.Everything else is A-ok
I mentioned this before when I wasn't sure how the code was Cloudflare related. The following code is for bypassing https://sucuri.net/website-firewall/
https://github.com/codemanki/cloudscraper/blob/c65a95385ca9bbd3490f34589ceaffadfbba62c2/index.js#L453-L475
I think this should be mentioned in the README or removed.
+1 for keeping it around since it's still useful i.e. https://github.com/Anorov/cloudflare-scrape/issues/277 where at least the site is using Cloudflare's DNS, at worst it's behind CF and using Sucuri which could be pretty confusing to users.