acrawler-cfscrape

The handler working with aCrawler and cloudscraper


License
GPL-3.0
Install
pip install acrawler-cfscrape==0.0.5

Documentation

acrawler-cfscrape

The handler works with aCrawler and cloudscraper

Installation

$ pip install acrawler_cfscrape

Usage

Add Handler:

class MyCrawler(Crawler):
    middleware_config = {
        "acrawler_cfscrape.CfscrapeHandler": True,
    }

    config = {
        "CFS_COOKIES_FILE": Path.home() / ".cfscookies",
        "CFS_URL": "http://www.example.com",
        "CFS_PROXIES": None,
    }