JimmyLaurent / cloudflare-scraper

A package to bypass Cloudflare's protection
MIT License
283 stars 30 forks source link

fixed #1

Closed Danny1994d closed 4 years ago

Danny1994d commented 4 years ago

Hello sir, how can use your script to bypass new uam challenge? here is my exemple code, using cloudscraper // fixed

JimmyLaurent commented 4 years ago

This package is in experimental stage, don't expect any captcha bypass or resolution. Still, here is an example of usage:

const cloudfareScraper = require("cloudflare-scraper");

(async () => {
    try {
        const response = await cloudfareScraper.get("https://audiograb.net");
        console.log(response);
    } catch (error) {
        console.log(error);
    }
})();
Danny1994d commented 4 years ago

This package is in experimental stage, don't expect any captcha bypass or resolution. Still, here is an example of usage:

const cloudfareScraper = require("cloudflare-scraper");

(async () => {
    try {
        const response = await cloudfareScraper.get("https://audiograb.net");
        console.log(response);
    } catch (error) {
        console.log(error);
    }
})();

I did some tests, the problem is that it takes up to 3 minutes to get the cookie and bypass it

JimmyLaurent commented 4 years ago

Maybe it is something with your IP (ex: you flooded cloudflare before) or maybe it is your CPU. I couldn't reproduce.

Screenshot 2020-06-07 at 09 09 29
Cosmysd commented 4 years ago

@JimmyLaurent your script working, but calling puppeteer on linux your script just spamming and get memory leak (opened many chronium sessions)