Skip to main content

Monkeypatch scrapy-playwright to use a custom stealth Chromium build

Project description

hamro-scrapy-playwright

Monkeypatches scrapy-playwright to use a custom stealth Chromium build.

Install

pip install hamro-scrapy-playwright

Setup

# settings.py
DOWNLOAD_HANDLERS = {
    "http": "hamro_scrapy_playwright.handler.HamroPlaywrightDownloadHandler",
    "https": "hamro_scrapy_playwright.handler.HamroPlaywrightDownloadHandler",
}
TWISTED_REACTOR = "twisted.internet.asyncioreactor.AsyncioSelectorReactor"
PLAYWRIGHT_BROWSER_TYPE = "chromium"

No manual import needed — the handler class triggers the patch and browser download automatically.

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

hamro_scrapy_playwright-0.1.3.tar.gz (11.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hamro_scrapy_playwright-0.1.3-py3-none-any.whl (11.1 kB view details)

Uploaded Python 3

File details

Details for the file hamro_scrapy_playwright-0.1.3.tar.gz.

File metadata

  • Download URL: hamro_scrapy_playwright-0.1.3.tar.gz
  • Upload date:
  • Size: 11.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.5

File hashes

Hashes for hamro_scrapy_playwright-0.1.3.tar.gz
Algorithm Hash digest
SHA256 4fb137bd29703a504728e17e3c588bf609c353305dd698c4e833d28ed31382ae
MD5 b935f30b07b702c8596fb155e20c5717
BLAKE2b-256 ac742e0461ccdb0ae95a434044c94f0c68c82662186b827b4760eb6cd0d3a860

See more details on using hashes here.

File details

Details for the file hamro_scrapy_playwright-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for hamro_scrapy_playwright-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 b4a8f58dd447887c720d3ada1f2a1a5e6a333af0e5ebedd9c85a085ddee4b95f
MD5 c0d15dfd5a7365b6a12de5a688b6326d
BLAKE2b-256 f8e8ce4666bf59d0fe3bd86a42a35d57d45e236d1f6be391514c4f193fec10f1

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