{ "info": { "author": "", "author_email": "", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "License :: OSI Approved :: MIT License", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Internet :: WWW/HTTP :: Indexing/Search" ], "description": "proxy-middleware\n================\n\n.. image:: https://img.shields.io/pypi/v/proxy-middleware.svg\n :target: https://pypi.python.org/pypi/proxy-middleware\n :alt: PyPI Version\n\nScrapy middlewares that reads proxy config from settings.\n\n.. contents::\n\nInstall\n-------\n\n::\n\n pip install proxy-middleware\n\n\nProxyFromSettingsMiddleware\n---------------------------\n\nA middleware that sets proxy from settings file.\n\nUsage: add it to ``DOWNLOADER_MIDDLEWARES`` in scrapy settings::\n\n DOWNLOADER_MIDDLEWARES = {\n 'proxy_middleware.ProxyFromSettingsMiddleware': 10,\n ...\n\nPass proxy config via ``HTTP_PROXY`` and ``HTTPS_PROXY`` settings\nvariables. ``HTTPPROXY_AUTH_ENCODING`` is also respected::\n\n scrapy crawl my-spider -s HTTP_PROXY=http://localhost:8118\n\n\nProxyOnlyTorMiddleware\n----------------------\n\nA middleware that proxies only requests to TOR sites (domain ends with \".onion\").\n\nUsage: add it to ``DOWNLOADER_MIDDLEWARES`` in scrapy settings::\n\n DOWNLOADER_MIDDLEWARES = {\n 'proxy_middleware.ProxyOnlyTorMiddleware': 10,\n ...\n\nSettings: ``HTTP_PROXY`` for an http proxy and ``HTTPS_PROXY`` for an https proxy.\n\n\nLicense\n-------\n\nLicense is MIT.\n\n\n=======\nHistory\n=======\n\n0.2.0 (2017-05-29)\n------------------\n\n* ``ProxyOnlyTorMiddleware`` added.\n\n\n0.1.1 (2017-04-07)\n------------------\n\n* Initial release\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/TeamHG-Memex/proxy-middleware", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "proxy-middleware", "package_url": "https://pypi.org/project/proxy-middleware/", "platform": "", "project_url": "https://pypi.org/project/proxy-middleware/", "project_urls": { "Homepage": "https://github.com/TeamHG-Memex/proxy-middleware" }, "release_url": "https://pypi.org/project/proxy-middleware/0.2.0/", "requires_dist": null, "requires_python": "", "summary": "Scrapy http proxy middleware that gets proxy parameters from settings", "version": "0.2.0" }, "last_serial": 4308938, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "12f16bceaf40b47d0bb0b8b30eb8ac6e", "sha256": "3ac3528cf335f39f364da13009eafe7ad9d70cd443dbda11235f5d7b0cbf3d53" }, "downloads": -1, "filename": "proxy-middleware-0.1.0.tar.gz", "has_sig": false, "md5_digest": "12f16bceaf40b47d0bb0b8b30eb8ac6e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1794, "upload_time": "2017-04-07T12:43:39", "url": "https://files.pythonhosted.org/packages/f6/77/4deff8734b654d6f65247a1763ca5a2f9eff1d0fc971321bdcfaade8d569/proxy-middleware-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "eb5746f5400dab6efaf048bdcf930ebf", "sha256": "364a6a866065c15c6b69889a6c92d1bf1ca094069ef29df0f6c56e8891dc97e0" }, "downloads": -1, "filename": "proxy-middleware-0.1.1.tar.gz", "has_sig": false, "md5_digest": "eb5746f5400dab6efaf048bdcf930ebf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1826, "upload_time": "2017-04-07T20:45:27", "url": "https://files.pythonhosted.org/packages/6f/c1/677058fe000c4727f6f65e0d1296d04e9288621948e6fd02ce11a7f5432d/proxy-middleware-0.1.1.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "f63e8b339908127e12cdc496af6fef4c", "sha256": "2cf6a0531af0cc728208fc247a2e0e33e9ac9ff771d4d4407e5622d8ebe676da" }, "downloads": -1, "filename": "proxy-middleware-0.2.0.tar.gz", "has_sig": false, "md5_digest": "f63e8b339908127e12cdc496af6fef4c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2418, "upload_time": "2017-05-29T16:15:41", "url": "https://files.pythonhosted.org/packages/ad/91/0004924204956f08365e4c55dc07ed3f8ced2d23baeede0cceece2177294/proxy-middleware-0.2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f63e8b339908127e12cdc496af6fef4c", "sha256": "2cf6a0531af0cc728208fc247a2e0e33e9ac9ff771d4d4407e5622d8ebe676da" }, "downloads": -1, "filename": "proxy-middleware-0.2.0.tar.gz", "has_sig": false, "md5_digest": "f63e8b339908127e12cdc496af6fef4c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2418, "upload_time": "2017-05-29T16:15:41", "url": "https://files.pythonhosted.org/packages/ad/91/0004924204956f08365e4c55dc07ed3f8ced2d23baeede0cceece2177294/proxy-middleware-0.2.0.tar.gz" } ] }