Sign inSign up

anilcancakir/flaresolverr

By anilcancakir

•Updated about 2 months ago

Proxy server to bypass Cloudflare and DDoS-GUARD protection using nodriver /w headers json, session.

Image
Developer tools
0

10K+

anilcancakir/flaresolverr repository overview

⁠FlareSolverr

Proxy server to bypass Cloudflare and DDoS-GUARD protection using a headless browser (nodriver).

⁠Quick Start

docker run -d \
  --name=flaresolverr \
  -p 8191:8191 \
  -e LOG_LEVEL=info \
  --restart unless-stopped \
  anilcancakir/flaresolverr:latest

⁠Docker Compose

services:
  flaresolverr:
    image: anilcancakir/flaresolverr:latest
    container_name: flaresolverr
    ports:
      - "8191:8191"
    environment:
      - LOG_LEVEL=info
      - TZ=Europe/Istanbul
    restart: unless-stopped

⁠Environment Variables

VariableDefaultDescription
LOG_LEVELinfoVerbosity: debug, info, warning, error
HEADLESStrueRun browser in headless mode
BROWSER_TIMEOUT40000Browser timeout in milliseconds
TZUTCTimezone (e.g., Europe/Istanbul)
PORT8191Server listening port

⁠Usage Examples

⁠GET Request
curl -X POST http://localhost:8191/v1 \
  -H "Content-Type: application/json" \
  -d '{"cmd":"request.get","url":"https://example.com","maxTimeout":60000}'
⁠POST with Form Data
curl -X POST http://localhost:8191/v1 \
  -H "Content-Type: application/json" \
  -d '{"cmd":"request.post","url":"https://example.com/login","postData":"user=test&pass=123"}'
⁠POST with JSON Data
curl -X POST http://localhost:8191/v1 \
  -H "Content-Type: application/json" \
  -d '{"cmd":"request.post","url":"https://api.example.com","postData":{"key":"value"}}'
⁠With Proxy
curl -X POST http://localhost:8191/v1 \
  -H "Content-Type: application/json" \
  -d '{"cmd":"request.get","url":"https://example.com","proxy":{"url":"http://proxy:8080"}}'

⁠API Commands

CommandDescription
request.getFetch URL via GET
request.postSend POST request (form or JSON)
sessions.createCreate persistent browser session
sessions.listList active sessions
sessions.destroyClose a session

⁠Features

  • Cloudflare bypass with nodriver (async CDP)
  • JSON and form-urlencoded POST support
  • Custom HTTP headers
  • Proxy support
  • Session management
  • Response headers capture

⁠Credits

Based on FlareSolverr⁠ and 21hsmw's nodriver fork⁠.

Tag summary

Content type

Image

Digest

sha256:27f4dd222…

Size

265.3 MB

Last updated

about 2 months ago

docker pull anilcancakir/flaresolverr