A Premium version for Akamai will soon be released if I hit 500 Likes or 50 Popularity on this thread. Don't forget to rate my profile. Don't be a leacher and Like this post to encourage me to release the Akamai Version as well.
Cloudflare Bypass Scrapper
A simple Python module to bypass Cloudflare's anti-bot page / I'm Under Attack Mode / IUAM). This will be useful if you wish to scrape or crawl a website protected with Cloudflare. Cloudflare's anti-bot page currently just checks if the client supports Javascript and Requests module, though they may add additional techniques in the future just as Akamai.
Due to Cloudflare continually changing and hardening their protection page, this bypass module requires a JavaScript interpreter to solve Javascript challenges. This allows the script to easily impersonate a regular web browser without explicitly de-obfuscating and parsing Cloudflare's Javascript.For reference, this is the default message Cloudflare uses for these sorts of pages:
Checking your browser before accessing website.com. This process is automatic. Your browser will redirect to your requested content shortly. Please allow up to 5 seconds...
If you embed this python module with your script then it will sleep for ~5 seconds for the first visit to any site with Cloudflare anti-bots enabled, though no delay will occur after the first request. Once the first request is up, you won't need to worry about waiting to scrape/check on that website for a certain period of time, lets say, 180 Minutes or 3 Hours, then again you'll be halt for another ~5 seconds and the process continues.
If you feel appreciation for this module, then how about hitting up the like button, not asking much, or you can donate me some credits
For further uses doc you can visit the Request website doc at https://docs.python-...ser/quickstart/
Have a good day and don't forget to Like!