Skip to content

Cloudflare Challenges and Flaresolverr Integration with Cumination

dobbelina edited this page Sep 11, 2023 · 2 revisions

Cloudflare Challenges and Flaresolverr Integration with Cumination

Introduction

Starting from version 1.1.85, Cumination now offers support to bypass Cloudflare Challenges. Some websites use Cloudflare Challenges as a protection mechanism to prevent unwanted access. When using Cumination, these challenges prevent users from accessing content on such websites through regular requests. However, with the integration of Flaresolverr, it's now possible to visit those sites and access the content.

Configuring Cumination to use Flaresolverr

  1. Navigate to the Cumination settings.
  2. Under the "Advanced" section, find "Flaresolverr".
  3. Enable Flaresolverr support.
  4. Enter the host address where Flaresolverr is running, e.g., http://192.168.0.1:8191/v1.

Limitations

While Flaresolverr offers a solution to bypass Cloudflare challenges, it's essential to understand that not all sites previously inaccessible due to Cloudflare will be guaranteed to work. However, most sites that previously didn't work, such as Spankbang or Luxuretv, should now be accessible.


What is Flaresolverr?

Flaresolverr is a proxy server designed to bypass Cloudflare and DDoS-GUARD protection. It works by starting a proxy server that waits for user requests. Upon receiving a request, it uses Selenium with the undetected-chromedriver to create a web browser (Chrome) session. This session then accesses the URL with user parameters and waits until the Cloudflare challenge is solved. Once solved, the HTML code and cookies are sent back to the user, allowing them to bypass Cloudflare challenges using other HTTP clients.

Installation of Flaresolverr

Using Docker (Recommended)

  1. Docker images for Flaresolverr are available on GitHub Registry and DockerHub.
  2. Supported architectures include x86linux/386, x86-64linux/amd64, ARM32linux/arm/v7, and ARM64linux/arm64.
  3. To start the container using docker-compose, clone the Flaresolverr repository and execute: docker-compose up -d
  4. Alternatively, you can use the docker CLI with the following command:
docker run -d \
  --name=flaresolverr \
  -p 8191:8191 \
  -e LOG_LEVEL=info \
  --restart unless-stopped \
  ghcr.io/flaresolverr/flaresolverr:latest

From Precompiled Binaries

  1. Precompiled binaries are available for x64 architecture on the release's page.
  2. Download and execute the Flaresolverr binary. Configuration can be changed using environment variables.
  3. Kodi Flaresolverr Autostarter For Windows

Other options and more info can be found on the Flaresolverr Github