Skip to content
This repository has been archived by the owner on Aug 7, 2024. It is now read-only.
/ CFBypass Public archive

Basic CloudFlare bypass JavaScript package using VeNoMouS's Python library.

Notifications You must be signed in to change notification settings

Eltik/CFBypass

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NOTICE

This package is deprecated and not developed anymore. This is meant only for bare-minimum tests and bypassing CloudFlare.

CFBypass

Python based CloudFlare bypass. Utilizes VeNoMouS's CloudScraper project to bypass CloudFlare. All credit goes to him.

Installation

THIS NEEDS TO BE UPDATED
Prerequisites: Python (version 3.10 or higher) and NodeJS (comes with NPM).

Installation is simple. Just run pip install cloudscraper or pip3 install cloudscraper. Then, run npm i cfbypass. Here is an example for using this package in your own project:

// ES6
import CF from "cfbypass"

// CommonJS
const CF = require("cfbypass").default;

const cf = new CF(true); // Set to true if using python3, leave empty if using python
cf.request({
    url: "https://9anime.gs", options: {
        method: "GET"
    }
}).then((data) => {
    console.log(data.text());
}).catch((err) => {
    console.error(err);
})

If you encounter issues installing the Python package, try running python3 -m pip uninstall cloudscraper and then python3 -m pip install cloudscraper.

About

Basic CloudFlare bypass JavaScript package using VeNoMouS's Python library.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published