Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

280
Vistas
Cloudscraper does not solve normal JS check Cloudflare challenge

I´m using the cloudscraper package (PyPI, Github) for web requests on a site that is protected with Cloudflare.

I am well aware there are challenges that can´t be solved yet with this package, particularly the "v2 challenges" with recaptchas and so on.

However, for me, the package seems to not work at all. When I do a GET request with

s.get(my_url)

where s is a Cloudscraper session object, I often get a HTML page with this title: "Attention Required! | Cloudflare". This is the standard Cloudflare Javascript challenge, which just checks whether the browser supports JS.

I don´t know why this happens. I made sure that

  • I have a 'realistic' User agent set, with Chrome set as browser argument in the

    cloudscraper.CloudScraper() constructor.

  • request are timed and not too fast, I wait between requests

  • I have all the package requirements installed, meaning besides cloudscraper itself, requests, requests-toolbelt, and js2py as engine.

There is no issues section on the Github repo.

The Javascript check is the simplest challenge that Cloudflare can throw at us. Still, this package, which has the sole purpose of solving some Cloudflare challenges, fails to even get past this simple check.

What am I overlooking? Cloudflare makes web automation a nightmare...

EDIT: Also, the Cloudflare page says 'Please enable Cookies and reload the page.' although normally cookies are automatically accepted by the request session´s RequestsCookieJar.

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda