Scrapy, a fast high-level web crawling & scraping framework for Python.
added example value to set for proxy meta key
Elias Dorneles57a5ee0097f5
diff --git a/docs/topics/downloader-middleware.rst b/docs/topics/downloader-middleware.rstindex fbc5391fa..a3647fd9b 100644--- a/docs/topics/downloader-middleware.rst+++ b/docs/topics/downloader-middleware.rst@@ -608,7 +608,7 @@ HttpProxyMiddleware.. class:: HttpProxyMiddlewareThis middleware sets the HTTP proxy to use for requests, by setting the- ``proxy`` meta value to :class:`~scrapy.http.Request` objects.+ ``proxy`` meta value for :class:`~scrapy.http.Request` objects.Like the Python standard library modules `urllib`_ and `urllib2`_, it obeysthe following environment variables:@@ -617,6 +617,9 @@ HttpProxyMiddleware* ``https_proxy``* ``no_proxy``+ You can also set the meta key ``proxy`` per-request, to a value like+ ``http://some_proxy_server:port``.+.. _urllib: http://docs.python.org/library/urllib.html.. _urllib2: http://docs.python.org/library/urllib2.html