Scrapy, a fast high-level web crawling & scraping framework for Python.
changed SSL version to use from SSLv23 to TLSv1. closes #194 but needs more testing against counter-effects
Pablo Hoffman5ebaa40ed2f1
diff --git a/scrapy/core/downloader/webclient.py b/scrapy/core/downloader/webclient.pyindex 985cc4ae5..b75af5ce4 100644--- a/scrapy/core/downloader/webclient.py+++ b/scrapy/core/downloader/webclient.py@@ -151,6 +151,11 @@ class ScrapyClientContextFactory(ClientContextFactory):# see https://github.com/scrapy/scrapy/issues/82# and https://github.com/scrapy/scrapy/issues/26+ def __init__(self):+ # see this issue on why we use TLSv1_METHOD by default+ # https://github.com/scrapy/scrapy/issues/194+ self.method = SSL.TLSv1_METHOD+def getContext(self):ctx = ClientContextFactory.getContext(self)# Enable all workarounds to SSL bugs as documented by