Skip to main content

The handler working with aCrawler and cloudscraper

Project description

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,
    }

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

acrawler_cfscrape-0.0.4.tar.gz (2.1 kB view details)

Uploaded Source

File details

Details for the file acrawler_cfscrape-0.0.4.tar.gz.

File metadata

  • Download URL: acrawler_cfscrape-0.0.4.tar.gz
  • Upload date:
  • Size: 2.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.14.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.7

File hashes

Hashes for acrawler_cfscrape-0.0.4.tar.gz
Algorithm Hash digest
SHA256 9429ca48aa3ed4afcdd3aa228b10cbf0b1006c464f4463195156ad3fb9210a35
MD5 a9f5d8c39b46cadfd944b103753d4e77
BLAKE2b-256 4f34c0c75e08209564f0864317edebf1de7041549b5cdb73553c342af0491d1d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page