Scrapy, a fast high-level web crawling & scraping framework for Python.
Add some comments and references to github issues. closes #82
Daniel Grañaeb8e98461d0c
diff --git a/scrapy/core/downloader/webclient.py b/scrapy/core/downloader/webclient.pyindex c76593bd6..985cc4ae5 100644--- a/scrapy/core/downloader/webclient.py+++ b/scrapy/core/downloader/webclient.py@@ -147,8 +147,13 @@ else:class ScrapyClientContextFactory(ClientContextFactory):+ "A SSL context factory which is more permissive against SSL bugs."+ # see https://github.com/scrapy/scrapy/issues/82+ # and https://github.com/scrapy/scrapy/issues/26def getContext(self):ctx = ClientContextFactory.getContext(self)+ # Enable all workarounds to SSL bugs as documented by+ # http://www.openssl.org/docs/ssl/SSL_CTX_set_options.htmlctx.set_options(SSL.OP_ALL)return ctx