freund17 / axios-cloudflare Goto Github PK
View Code? Open in Web Editor NEWAn axios hook to handle cloudflare ddos protection / browsercheck
License: MIT License
An axios hook to handle cloudflare ddos protection / browsercheck
License: MIT License
Hi, I got some bug here.
When access an API without cloudflare the response
object are available, but not with the cloudflare protected.
Hi, I am wondering if this little piece of software is still being used. I started debugging and found a couple of things why it does not workin its current state, but so far have not been able to get it back to a working state yet entirely.
The things that I found:
cloudflare
and no longer cloudflare-nginx
in the server
headers
field which needs to be changed herescriptRows[8]
but instead in scriptRows[16]
. I also simplified the Regexp to scriptRows[16].match(/^.*, (\w+)={"(\w+)":(.*)};.*$/);
as I could not get the one that's in this repo to workscriptRows[37
hereso @freund17 if you're still up to making this great again, now that we're all spending more time at home thanks to this amazing virus, I would be more than happy to join in.
P.S.: I also took a look at cloudscaper but could not get it to work either
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.