Injecting configuration and compiling...
[1G [1G-----> Python app detected
[1G-----> Installing python-2.7.14
[1G-----> Installing pip
[1G-----> Installing requirements with pip
[1G Collecting beautifulsoup4==4.2.0 (from -r /tmp/build/requirements.txt (line 6))
[1G Downloading https://files.pythonhosted.org/packages/b3/fe/6888f755c0b9f66d4cc1f9ee0077a613a09e211acca3242a7335ffe7ed06/beautifulsoup4-4.2.0.tar.gz (63kB)
[1G Obtaining scraperwiki from git+http://github.com/openaustralia/scraperwiki-python.git@morph_defaults#egg=scraperwiki (from -r /tmp/build/requirements.txt (line 10))
[1G Cloning http://github.com/openaustralia/scraperwiki-python.git (to revision morph_defaults) to /app/.heroku/src/scraperwiki
[1G Collecting lxml==3.4.4 (from -r /tmp/build/requirements.txt (line 12))
[1G Downloading https://files.pythonhosted.org/packages/63/c7/4f2a2a4ad6c6fa99b14be6b3c1cece9142e2d915aa7c43c908677afc8fa4/lxml-3.4.4.tar.gz (3.5MB)
[1G Collecting cssselect==0.9.1 (from -r /tmp/build/requirements.txt (line 13))
[1G Downloading https://files.pythonhosted.org/packages/aa/e5/9ee1460d485b94a6d55732eb7ad5b6c084caf73dd6f9cb0bb7d2a78fafe8/cssselect-0.9.1.tar.gz
[1G Collecting pyOpenSSL==18.0.0 (from -r /tmp/build/requirements.txt (line 14))
[1G Downloading https://files.pythonhosted.org/packages/96/af/9d29e6bd40823061aea2e0574ccb2fcf72bfd6130ce53d32773ec375458c/pyOpenSSL-18.0.0-py2.py3-none-any.whl (53kB)
[1G Collecting splinter>=0.7.3 (from -r /tmp/build/requirements.txt (line 15))
[1G Downloading https://files.pythonhosted.org/packages/25/f0/24da3695bf95e432dba33274619472e755e33b8565a36838aae9e92db5b8/splinter-0.9.0-py2-none-any.whl
[1G Collecting dumptruck>=0.1.2 (from scraperwiki->-r /tmp/build/requirements.txt (line 10))
[1G Downloading https://files.pythonhosted.org/packages/15/27/3330a343de80d6849545b6c7723f8c9a08b4b104de964ac366e7e6b318df/dumptruck-0.1.6.tar.gz
[1G Collecting requests (from scraperwiki->-r /tmp/build/requirements.txt (line 10))
[1G Downloading https://files.pythonhosted.org/packages/65/47/7e02164a2a3db50ed6d8a6ab1d6d60b69c4c3fdf57a284257925dfc12bda/requests-2.19.1-py2.py3-none-any.whl (91kB)
[1G Collecting six>=1.5.2 (from pyOpenSSL==18.0.0->-r /tmp/build/requirements.txt (line 14))
[1G Downloading https://files.pythonhosted.org/packages/67/4b/141a581104b1f6397bfa78ac9d43d8ad29a7ca43ea90a2d863fe3056e86a/six-1.11.0-py2.py3-none-any.whl
[1G Collecting cryptography>=2.2.1 (from pyOpenSSL==18.0.0->-r /tmp/build/requirements.txt (line 14))
[1G Downloading https://files.pythonhosted.org/packages/87/e6/915a482dbfef98bbdce6be1e31825f591fc67038d4ee09864c1d2c3db371/cryptography-2.3.1-cp27-cp27mu-manylinux1_x86_64.whl (2.1MB)
[1G Collecting selenium>=3.14.0 (from splinter>=0.7.3->-r /tmp/build/requirements.txt (line 15))
[1G Downloading https://files.pythonhosted.org/packages/b8/53/9cafbb616d20c7624ff31bcabd82e5cc9823206267664e68aa8acdde4629/selenium-3.14.0-py2.py3-none-any.whl (898kB)
[1G Collecting idna<2.8,>=2.5 (from requests->scraperwiki->-r /tmp/build/requirements.txt (line 10))
[1G Downloading https://files.pythonhosted.org/packages/4b/2a/0276479a4b3caeb8a8c1af2f8e4355746a97fab05a372e4a2c6a6b876165/idna-2.7-py2.py3-none-any.whl (58kB)
[1G Collecting certifi>=2017.4.17 (from requests->scraperwiki->-r /tmp/build/requirements.txt (line 10))
[1G Downloading https://files.pythonhosted.org/packages/df/f7/04fee6ac349e915b82171f8e23cee63644d83663b34c539f7a09aed18f9e/certifi-2018.8.24-py2.py3-none-any.whl (147kB)
[1G Collecting urllib3<1.24,>=1.21.1 (from requests->scraperwiki->-r /tmp/build/requirements.txt (line 10))
[1G Downloading https://files.pythonhosted.org/packages/bd/c9/6fdd990019071a4a32a5e7cb78a1d92c53851ef4f56f62a3486e6a7d8ffb/urllib3-1.23-py2.py3-none-any.whl (133kB)
[1G Collecting chardet<3.1.0,>=3.0.2 (from requests->scraperwiki->-r /tmp/build/requirements.txt (line 10))
[1G Downloading https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl (133kB)
[1G Collecting asn1crypto>=0.21.0 (from cryptography>=2.2.1->pyOpenSSL==18.0.0->-r /tmp/build/requirements.txt (line 14))
[1G Downloading https://files.pythonhosted.org/packages/ea/cd/35485615f45f30a510576f1a56d1e0a7ad7bd8ab5ed7cdc600ef7cd06222/asn1crypto-0.24.0-py2.py3-none-any.whl (101kB)
[1G Collecting enum34; python_version < "3" (from cryptography>=2.2.1->pyOpenSSL==18.0.0->-r /tmp/build/requirements.txt (line 14))
[1G Downloading https://files.pythonhosted.org/packages/c5/db/e56e6b4bbac7c4a06de1c50de6fe1ef3810018ae11732a50f15f62c7d050/enum34-1.1.6-py2-none-any.whl
[1G Collecting cffi!=1.11.3,>=1.7 (from cryptography>=2.2.1->pyOpenSSL==18.0.0->-r /tmp/build/requirements.txt (line 14))
[1G Downloading https://files.pythonhosted.org/packages/14/dd/3e7a1e1280e7d767bd3fa15791759c91ec19058ebe31217fe66f3e9a8c49/cffi-1.11.5-cp27-cp27mu-manylinux1_x86_64.whl (407kB)
[1G Collecting ipaddress; python_version < "3" (from cryptography>=2.2.1->pyOpenSSL==18.0.0->-r /tmp/build/requirements.txt (line 14))
[1G Downloading https://files.pythonhosted.org/packages/fc/d0/7fc3a811e011d4b388be48a0e381db8d990042df54aa4ef4599a31d39853/ipaddress-1.0.22-py2.py3-none-any.whl
[1G Collecting pycparser (from cffi!=1.11.3,>=1.7->cryptography>=2.2.1->pyOpenSSL==18.0.0->-r /tmp/build/requirements.txt (line 14))
[1G Downloading https://files.pythonhosted.org/packages/8c/2d/aad7f16146f4197a11f8e91fb81df177adcc2073d36a17b1491fd09df6ed/pycparser-2.18.tar.gz (245kB)
[1G Installing collected packages: beautifulsoup4, dumptruck, idna, certifi, urllib3, chardet, requests, scraperwiki, lxml, cssselect, six, asn1crypto, enum34, pycparser, cffi, ipaddress, cryptography, pyOpenSSL, selenium, splinter
[1G Running setup.py install for beautifulsoup4: started
[1G Running setup.py install for beautifulsoup4: finished with status 'done'
[1G Running setup.py install for dumptruck: started
[1G Running setup.py install for dumptruck: finished with status 'done'
[1G Running setup.py develop for scraperwiki
[1G Running setup.py install for lxml: started
[1G Running setup.py install for lxml: still running...
[1G Running setup.py install for lxml: finished with status 'done'
[1G Running setup.py install for cssselect: started
[1G Running setup.py install for cssselect: finished with status 'done'
[1G Running setup.py install for pycparser: started
[1G Running setup.py install for pycparser: finished with status 'done'
[1G Successfully installed asn1crypto-0.24.0 beautifulsoup4-4.2.0 certifi-2018.8.24 cffi-1.11.5 chardet-3.0.4 cryptography-2.3.1 cssselect-0.9.1 dumptruck-0.1.6 enum34-1.1.6 idna-2.7 ipaddress-1.0.22 lxml-3.4.4 pyOpenSSL-18.0.0 pycparser-2.18 requests-2.19.1 scraperwiki selenium-3.14.0 six-1.11.0 splinter-0.9.0 urllib3-1.23
[1G
[1G [1G-----> Discovering process types
[1G Procfile declares types -> scraper
Injecting scraper and running...
Traceback (most recent call last):
File "scraper.py", line 96, in <module>
html = requests.get(url)
File "/app/.heroku/python/lib/python2.7/site-packages/requests/api.py", line 72, in get
return request('get', url, params=params, **kwargs)
File "/app/.heroku/python/lib/python2.7/site-packages/requests/api.py", line 58, in request
return session.request(method=method, url=url, **kwargs)
File "/app/.heroku/python/lib/python2.7/site-packages/requests/sessions.py", line 512, in request
resp = self.send(prep, **send_kwargs)
File "/app/.heroku/python/lib/python2.7/site-packages/requests/sessions.py", line 622, in send
r = adapter.send(request, **kwargs)
File "/app/.heroku/python/lib/python2.7/site-packages/requests/adapters.py", line 511, in send
raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='www.gosport.gov.uk', port=443): Max retries exceeded with url: /sections/your-council/transparency/invoices-over-500-pounds/ (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_get_record', 'wrong version number')],)",),))