
Research
Security News
The Growing Risk of Malicious Browser Extensions
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.
.. image:: https://img.shields.io/pypi/v/proxy-middleware.svg :target: https://pypi.python.org/pypi/proxy-middleware :alt: PyPI Version
Scrapy middlewares that reads proxy config from settings.
.. contents::
::
pip install proxy-middleware
A middleware that sets proxy from settings file.
Usage: add it to DOWNLOADER_MIDDLEWARES
in scrapy settings::
DOWNLOADER_MIDDLEWARES = {
'proxy_middleware.ProxyFromSettingsMiddleware': 10,
...
Pass proxy config via HTTP_PROXY
and HTTPS_PROXY
settings
variables. HTTPPROXY_AUTH_ENCODING
is also respected::
scrapy crawl my-spider -s HTTP_PROXY=http://localhost:8118
A middleware that proxies only requests to TOR sites (domain ends with ".onion").
Usage: add it to DOWNLOADER_MIDDLEWARES
in scrapy settings::
DOWNLOADER_MIDDLEWARES = {
'proxy_middleware.ProxyOnlyTorMiddleware': 10,
...
Settings: HTTP_PROXY
for an http proxy and HTTPS_PROXY
for an https proxy.
License is MIT.
ProxyOnlyTorMiddleware
added.FAQs
Scrapy http proxy middleware that gets proxy parameters from settings
We found that proxy-middleware demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.
Research
Security News
An in-depth analysis of credential stealers, crypto drainers, cryptojackers, and clipboard hijackers abusing open source package registries to compromise Web3 development environments.
Security News
pnpm 10.12.1 introduces a global virtual store for faster installs and new options for managing dependencies with version catalogs.