Scrapy, a fast high-level web crawling & scraping framework for Python.
Update proxyScheme assignment
Ajay Mittur5044549c5508
diff --git a/scrapy/core/downloader/handlers/http11.py b/scrapy/core/downloader/handlers/http11.pyindex 15de8cdbd..d2f9084fc 100644--- a/scrapy/core/downloader/handlers/http11.py+++ b/scrapy/core/downloader/handlers/http11.py@@ -319,7 +319,7 @@ class ScrapyAgent:pool=self._pool,)else:- proxyScheme = b'http' if not proxyScheme else proxyScheme+ proxyScheme = proxyScheme or b'http'proxyHost = to_bytes(proxyHost, encoding='ascii')proxyPort = to_bytes(str(proxyPort), encoding='ascii')proxyURI = urlunparse((proxyScheme, proxyNetloc, proxyParams, '', '', ''))