Contributors blablupcom

Last run completed successfully .

Console output of last run

Injecting configuration and compiling...  -----> Python app detected -----> Installing python-2.7.6  $ pip install -r requirements.txt  Obtaining scraperwiki from git+http://github.com/openaustralia/scraperwiki-python.git@morph_defaults#egg=scraperwiki (from -r /tmp/build/requirements.txt (line 6))  Cloning http://github.com/openaustralia/scraperwiki-python.git (to morph_defaults) to /app/.heroku/src/scraperwiki  Collecting beautifulsoup4==4.2.0 (from -r /tmp/build/requirements.txt (line 7))  /app/.heroku/python/lib/python2.7/site-packages/pip-9.0.1-py2.7.egg/pip/_vendor/requests/packages/urllib3/util/ssl_.py:318: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#snimissingwarning.  SNIMissingWarning  /app/.heroku/python/lib/python2.7/site-packages/pip-9.0.1-py2.7.egg/pip/_vendor/requests/packages/urllib3/util/ssl_.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#insecureplatformwarning.  InsecurePlatformWarning  Downloading beautifulsoup4-4.2.0.tar.gz (63kB)  Collecting grequests==0.2.0 (from -r /tmp/build/requirements.txt (line 8))  Downloading grequests-0.2.0.tar.gz  Collecting lxml==3.4.4 (from -r /tmp/build/requirements.txt (line 9))  Downloading lxml-3.4.4.tar.gz (3.5MB)  Collecting cssselect==0.9.1 (from -r /tmp/build/requirements.txt (line 10))  Downloading cssselect-0.9.1.tar.gz  Collecting dumptruck>=0.1.2 (from scraperwiki->-r /tmp/build/requirements.txt (line 6))  Downloading dumptruck-0.1.6.tar.gz  Collecting requests (from scraperwiki->-r /tmp/build/requirements.txt (line 6))  Downloading requests-2.17.3-py2.py3-none-any.whl (87kB)  Collecting gevent (from grequests==0.2.0->-r /tmp/build/requirements.txt (line 8))  Downloading gevent-1.2.2-cp27-cp27m-manylinux1_x86_64.whl (1.6MB)  Collecting chardet<3.1.0,>=3.0.2 (from requests->scraperwiki->-r /tmp/build/requirements.txt (line 6))  Downloading chardet-3.0.3-py2.py3-none-any.whl (133kB)  Collecting certifi>=2017.4.17 (from requests->scraperwiki->-r /tmp/build/requirements.txt (line 6))  Downloading certifi-2017.4.17-py2.py3-none-any.whl (375kB)  Collecting idna<2.6,>=2.5 (from requests->scraperwiki->-r /tmp/build/requirements.txt (line 6))  Downloading idna-2.5-py2.py3-none-any.whl (55kB)  Collecting urllib3<1.22,>=1.21.1 (from requests->scraperwiki->-r /tmp/build/requirements.txt (line 6))  Downloading urllib3-1.21.1-py2.py3-none-any.whl (131kB)  Collecting greenlet>=0.4.10 (from gevent->grequests==0.2.0->-r /tmp/build/requirements.txt (line 8))  Downloading greenlet-0.4.12-cp27-cp27m-manylinux1_x86_64.whl (41kB)  Installing collected packages: dumptruck, chardet, certifi, idna, urllib3, requests, scraperwiki, beautifulsoup4, greenlet, gevent, grequests, lxml, cssselect  Running setup.py install for dumptruck: started  Running setup.py install for dumptruck: finished with status 'done'  Running setup.py develop for scraperwiki  Running setup.py install for beautifulsoup4: started  Running setup.py install for beautifulsoup4: finished with status 'done'  Running setup.py install for grequests: started  Running setup.py install for grequests: finished with status 'done'  Running setup.py install for lxml: started  Running setup.py install for lxml: still running...  Running setup.py install for lxml: finished with status 'done'  Running setup.py install for cssselect: started  Running setup.py install for cssselect: finished with status 'done'  Successfully installed beautifulsoup4-4.2.0 certifi-2017.4.17 chardet-3.0.3 cssselect-0.9.1 dumptruck-0.1.6 gevent-1.2.2 greenlet-0.4.12 grequests-0.2.0 idna-2.5 lxml-3.4.4 requests-2.17.3 scraperwiki urllib3-1.21.1   ! Hello! It looks like your application is using an outdated version of Python.  ! This caused the security warning you saw above during the 'pip install' step.  ! We recommend 'python-2.7.13', which you can specify in a 'runtime.txt' file.  ! -- Much Love, Heroku.   -----> Discovering process types  Procfile declares types -> scraper Injecting scraper and running... NHTRTVFT_5BPNFT_gov_2017_01 NHTRTVFT_5BPNFT_gov_2016_12 NHTRTVFT_5BPNFT_gov_2016_11 NHTRTVFT_5BPNFT_gov_2016_10 NHTRTVFT_5BPNFT_gov_2016_09 NHTRTVFT_5BPNFT_gov_2016_08 NHTRTVFT_5BPNFT_gov_2016_07 NHTRTVFT_5BPNFT_gov_2016_06 NHTRTVFT_5BPNFT_gov_2016_05 NHTRTVFT_5BPNFT_gov_2016_04

Data

Downloaded 0 times

To download data sign in with GitHub

Download table (as CSV) Download SQLite database (5 KB) Use the API

rows 10 / 10

f d l
NHTRTVFT_5BPNFT_gov_2017_01
2017-06-07 14:53:00.455828
http://www.5boroughspartnership.nhs.uk/assets/uploaded/documents/37469_Jan 17.csv
NHTRTVFT_5BPNFT_gov_2016_12
2017-06-07 14:53:00.899793
http://www.5boroughspartnership.nhs.uk/assets/uploaded/documents/37468_Dec 16.csv
NHTRTVFT_5BPNFT_gov_2016_11
2017-06-07 14:53:01.502246
http://www.5boroughspartnership.nhs.uk/assets/uploaded/documents/37467_Nov 16.csv
NHTRTVFT_5BPNFT_gov_2016_10
2017-06-07 14:53:02.111070
http://www.5boroughspartnership.nhs.uk/assets/uploaded/documents/37466_Oct 16.csv
NHTRTVFT_5BPNFT_gov_2016_09
2017-06-07 14:53:02.560674
http://www.5boroughspartnership.nhs.uk/assets/uploaded/documents/37465_Sept 16.csv
NHTRTVFT_5BPNFT_gov_2016_08
2017-06-07 14:53:02.995628
http://www.5boroughspartnership.nhs.uk/assets/uploaded/documents/37464_Aug 16.csv
NHTRTVFT_5BPNFT_gov_2016_07
2017-06-07 14:53:03.780021
http://www.5boroughspartnership.nhs.uk/assets/uploaded/documents/37463_July 16.csv
NHTRTVFT_5BPNFT_gov_2016_06
2017-06-07 14:53:04.245737
http://www.5boroughspartnership.nhs.uk/assets/uploaded/documents/37462_June 16.csv
NHTRTVFT_5BPNFT_gov_2016_05
2017-06-07 14:53:04.686501
http://www.5boroughspartnership.nhs.uk/assets/uploaded/documents/37461_May 16.csv
NHTRTVFT_5BPNFT_gov_2016_04
2017-06-07 14:53:05.266479
http://www.5boroughspartnership.nhs.uk/assets/uploaded/documents/37460_APril 16.csv

Statistics

Average successful run time: 3 minutes

Total run time: 3 minutes

Total cpu time used: less than 5 seconds

Total disk space used: 2.44 MB

History

  • Manually ran revision de3d6a07 and completed successfully .
    10 records added in the database
  • Created on morph.io

Scraper code

Python

sp_NHTRTVFT_5BPNFT_gov / scraper.py