Metadata-Version: 1.1
Name: proxy-middleware
Version: 0.2.0
Summary: Scrapy http proxy middleware that gets proxy parameters from settings
Home-page: https://github.com/TeamHG-Memex/proxy-middleware
Author: UNKNOWN
Author-email: UNKNOWN
License: MIT
Description: proxy-middleware
        ================
        
        .. 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::
        
        Install
        -------
        
        ::
        
            pip install proxy-middleware
        
        
        ProxyFromSettingsMiddleware
        ---------------------------
        
        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
        
        
        ProxyOnlyTorMiddleware
        ----------------------
        
        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
        -------
        
        License is MIT.
        
        
        =======
        History
        =======
        
        0.2.0 (2017-05-29)
        ------------------
        
        * ``ProxyOnlyTorMiddleware`` added.
        
        
        0.1.1 (2017-04-07)
        ------------------
        
        * Initial release
        
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Topic :: Internet :: WWW/HTTP :: Indexing/Search
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
