This is an experimental project which can be used in order to get the content of a site protected by cloudflare.
This library is oriented to the web crawling, so I used the JSoup library and return a JSoup object when requesting an URL.
Simply:
CHttpRequester requester = new CHttpRequester();
requester.get("www.mysite-under-clodflare-or-not.com")
- Java 9
- JSoup
This library simply executes the javascript snippet used by cloudfare in order to avoid the DDOS attack. It detects if a website is under this firewall, and if it is, it waits 5 seconds before resolve the callenge which will lead us to the actual website we are requesting.
email: juan.roldan.brz@gmail.com
linkedn: https://www.linkedin.com/in/juan-bermudez-roldan-65725bb1/