E0304SBCgov

E0304SBCgov

E0304SBCgov

E0304SBCgov

Contributors blablupcom woodbine

Last run completed successfully .

Console output of last run

Injecting configuration and compiling... Error removing intermediate container 2f374e32b7fc: Driver aufs failed to remove root filesystem 2f374e32b7fcfb33dcf9b3cea55eec46c370cd864626e615fc886ca354442f57: rename /var/lib/docker/aufs/diff/bd4bed2a6db0186bf62ec39708a5ee5a2b29f39227a4ffda3a7bc694e1f7c3fd /var/lib/docker/aufs/diff/bd4bed2a6db0186bf62ec39708a5ee5a2b29f39227a4ffda3a7bc694e1f7c3fd-removing: device or resource busy Error removing intermediate container 2f374e32b7fc: No such container: 2f374e32b7fcfb33dcf9b3cea55eec46c370cd864626e615fc886ca354442f57 Error removing intermediate container 2f374e32b7fc: No such container: 2f374e32b7fcfb33dcf9b3cea55eec46c370cd864626e615fc886ca354442f57  -----> 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 1))  Cloning http://github.com/openaustralia/scraperwiki-python.git (to morph_defaults) to /app/.heroku/src/scraperwiki  Collecting lxml==3.4.4 (from -r /tmp/build/requirements.txt (line 2))  /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 lxml-3.4.4.tar.gz (3.5MB)  Collecting cssselect==0.9.1 (from -r /tmp/build/requirements.txt (line 3))  Downloading cssselect-0.9.1.tar.gz  Collecting beautifulsoup4 (from -r /tmp/build/requirements.txt (line 4))  Downloading beautifulsoup4-4.6.0-py2-none-any.whl (86kB)  Collecting python-dateutil (from -r /tmp/build/requirements.txt (line 5))  Downloading python_dateutil-2.6.1-py2.py3-none-any.whl (194kB)  Collecting dumptruck>=0.1.2 (from scraperwiki->-r /tmp/build/requirements.txt (line 1))  Downloading dumptruck-0.1.6.tar.gz  Collecting requests (from scraperwiki->-r /tmp/build/requirements.txt (line 1))  Downloading requests-2.18.4-py2.py3-none-any.whl (88kB)  Collecting six>=1.5 (from python-dateutil->-r /tmp/build/requirements.txt (line 5))  Downloading six-1.11.0-py2.py3-none-any.whl  Collecting chardet<3.1.0,>=3.0.2 (from requests->scraperwiki->-r /tmp/build/requirements.txt (line 1))  Downloading chardet-3.0.4-py2.py3-none-any.whl (133kB)  Collecting certifi>=2017.4.17 (from requests->scraperwiki->-r /tmp/build/requirements.txt (line 1))  Downloading certifi-2017.11.5-py2.py3-none-any.whl (330kB)  Collecting urllib3<1.23,>=1.21.1 (from requests->scraperwiki->-r /tmp/build/requirements.txt (line 1))  Downloading urllib3-1.22-py2.py3-none-any.whl (132kB)  Collecting idna<2.7,>=2.5 (from requests->scraperwiki->-r /tmp/build/requirements.txt (line 1))  Downloading idna-2.6-py2.py3-none-any.whl (56kB)  Installing collected packages: dumptruck, chardet, certifi, urllib3, idna, requests, scraperwiki, lxml, cssselect, beautifulsoup4, six, python-dateutil  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 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.6.0 certifi-2017.11.5 chardet-3.0.4 cssselect-0.9.1 dumptruck-0.1.6 idna-2.6 lxml-3.4.4 python-dateutil-2.6.1 requests-2.18.4 scraperwiki six-1.11.0 urllib3-1.22   ! 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 Error removing intermediate container 2f374e32b7fc: No such container: 2f374e32b7fcfb33dcf9b3cea55eec46c370cd864626e615fc886ca354442f57 Injecting scraper and running... E0304_SBC_gov_2017_06 E0304_SBC_gov_2017_05 E0304_SBC_gov_2017_04 E0304_SBC_gov_2017_03 E0304_SBC_gov_2017_02 E0304_SBC_gov_2017_01 E0304_SBC_gov_2016_12 E0304_SBC_gov_2016_11 E0304_SBC_gov_2016_10 E0304_SBC_gov_2016_09 E0304_SBC_gov_2016_08 E0304_SBC_gov_2016_07 E0304_SBC_gov_2016_06 E0304_SBC_gov_2016_05 E0304_SBC_gov_2016_04 E0304_SBC_gov_2016_03 E0304_SBC_gov_2016_02 E0304_SBC_gov_2016_01 E0304_SBC_gov_2015_12 E0304_SBC_gov_2015_11 E0304_SBC_gov_2015_10 E0304_SBC_gov_2015_09 E0304_SBC_gov_2015_08 E0304_SBC_gov_2015_07 E0304_SBC_gov_2015_06 E0304_SBC_gov_2015_05 E0304_SBC_gov_2015_04 E0304_SBC_gov_2015_03 E0304_SBC_gov_2015_02 E0304_SBC_gov_2015_01 E0304_SBC_gov_2014_12 E0304_SBC_gov_2014_11 E0304_SBC_gov_2014_10 E0304_SBC_gov_2014_09 E0304_SBC_gov_2014_08 E0304_SBC_gov_2014_07 E0304_SBC_gov_2014_06 E0304_SBC_gov_2014_05 E0304_SBC_gov_2014_04 E0304_SBC_gov_2014_03 E0304_SBC_gov_2014_02 E0304_SBC_gov_2014_01 E0304_SBC_gov_2013_12 E0304_SBC_gov_2013_11 E0304_SBC_gov_2013_10 E0304_SBC_gov_2013_09 E0304_SBC_gov_2013_08 E0304_SBC_gov_2013_07 E0304_SBC_gov_2013_06 E0304_SBC_gov_2013_05 E0304_SBC_gov_2013_04 E0304_SBC_gov_2013_03 E0304_SBC_gov_2013_02 E0304_SBC_gov_2013_01 E0304_SBC_gov_2012_12 E0304_SBC_gov_2012_11 E0304_SBC_gov_2012_10 E0304_SBC_gov_2012_09 E0304_SBC_gov_2012_08 E0304_SBC_gov_2012_07 E0304_SBC_gov_2012_06 E0304_SBC_gov_2012_05 E0304_SBC_gov_2012_04

Data

Downloaded 1 time by MikeRalphson

To download data sign in with GitHub

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

rows 10 / 39

d l f
2015-11-23 23:07:39.611325
E0304_SBC_gov_2015_06
2015-11-23 23:07:40.879922
E0304_SBC_gov_2015_05
2015-11-23 23:07:42.235217
E0304_SBC_gov_2015_04
2015-11-23 23:07:43.551236
E0304_SBC_gov_2015_03
2015-11-23 23:07:44.973511
E0304_SBC_gov_2015_02
2015-11-23 23:07:46.208454
E0304_SBC_gov_2015_01
2015-11-23 23:07:47.526359
E0304_SBC_gov_2014_12
2015-11-23 23:07:48.831468
E0304_SBC_gov_2014_11
2015-11-23 23:07:50.088132
E0304_SBC_gov_2014_10
2015-11-23 23:07:51.368685
E0304_SBC_gov_2014_09

Statistics

Average successful run time: 2 minutes

Total run time: 4 minutes

Total cpu time used: less than 5 seconds

Total disk space used: 41.9 KB

History

  • Manually ran revision 39859b13 and completed successfully .
    nothing changed in the database
  • Manually ran and failed .
  • Manually ran revision 9fc9cb67 and completed successfully .
    39 records added in the database
    45 pages scraped
  • Created on morph.io

Scraper code

Python

sp_E0304_SBC_gov-1 / scraper.py