blablupcom / sp_E4206_SCC_gov

Scrapes www.salford.gov.uk

Salford City Council's website provides a wealth of information and advice on its council services for residents, businesses and visitors to the city.


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 requirements.txt (line 1))  Cloning http://github.com/openaustralia/scraperwiki-python.git (to morph_defaults) to ./.heroku/src/scraperwiki  Collecting lxml==3.4.4 (from -r requirements.txt (line 2))  /app/.heroku/python/lib/python2.7/site-packages/pip-8.1.2-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.org/en/latest/security.html#snimissingwarning.  SNIMissingWarning  /app/.heroku/python/lib/python2.7/site-packages/pip-8.1.2-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.org/en/latest/security.html#insecureplatformwarning.  InsecurePlatformWarning  Downloading lxml-3.4.4.tar.gz (3.5MB)  Collecting cssselect==0.9.1 (from -r requirements.txt (line 3))  Downloading cssselect-0.9.1.tar.gz  Collecting beautifulsoup4 (from -r requirements.txt (line 4))  Downloading beautifulsoup4-4.5.1-py2-none-any.whl (83kB)  Collecting python-dateutil (from -r requirements.txt (line 5))  Downloading python_dateutil-2.6.0-py2.py3-none-any.whl (194kB)  Collecting dumptruck>=0.1.2 (from scraperwiki->-r requirements.txt (line 1))  Downloading dumptruck-0.1.6.tar.gz  Collecting requests (from scraperwiki->-r requirements.txt (line 1))  Downloading requests-2.12.1-py2.py3-none-any.whl (574kB)  Collecting six>=1.5 (from python-dateutil->-r requirements.txt (line 5))  Downloading six-1.10.0-py2.py3-none-any.whl  Installing collected packages: dumptruck, 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.5.1 cssselect-0.9.1 dumptruck-0.1.6 lxml-3.4.4 python-dateutil-2.6.0 requests-2.12.1 scraperwiki six-1.10.0   ! 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.12', which you can specify in a 'runtime.txt' file.  ! -- Much Love, Heroku.   -----> Discovering process types  Procfile declares types -> scraper Injecting scraper and running... E4206_SCC_gov_2016_06 E4206_SCC_gov_2016_05 E4206_SCC_gov_2016_04 E4206_SCC_gov_2016_03 E4206_SCC_gov_2016_02 E4206_SCC_gov_2016_01 E4206_SCC_gov_2015_12 E4206_SCC_gov_2015_11 E4206_SCC_gov_2015_10 E4206_SCC_gov_2015_09 E4206_SCC_gov_2015_08 E4206_SCC_gov_2015_07 E4206_SCC_gov_2015_06 E4206_SCC_gov_2015_05 E4206_SCC_gov_2015_04 E4206_SCC_gov_2015_03 E4206_SCC_gov_2015_02 E4206_SCC_gov_2015_01 E4206_SCC_gov_2014_12 E4206_SCC_gov_2014_11 E4206_SCC_gov_2014_10 E4206_SCC_gov_2014_09 E4206_SCC_gov_2014_08 E4206_SCC_gov_2014_07 E4206_SCC_gov_2014_06 E4206_SCC_gov_2014_05 E4206_SCC_gov_2014_04 E4206_SCC_gov_2014_03 E4206_SCC_gov_2014_02 E4206_SCC_gov_2014_01 E4206_SCC_gov_2013_12 E4206_SCC_gov_2013_11 E4206_SCC_gov_2013_10 E4206_SCC_gov_2013_09 E4206_SCC_gov_2013_08 E4206_SCC_gov_2013_07 E4206_SCC_gov_2013_06 E4206_SCC_gov_2013_05 E4206_SCC_gov_2013_04 E4206_SCC_gov_2013_03 E4206_SCC_gov_2013_02 E4206_SCC_gov_2013_01 E4206_SCC_gov_2012_12 E4206_SCC_gov_2012_11 E4206_SCC_gov_2012_10 E4206_SCC_gov_2012_09 E4206_SCC_gov_2012_08 E4206_SCC_gov_2012_07 E4206_SCC_gov_2012_06 E4206_SCC_gov_2012_05 E4206_SCC_gov_2012_04 E4206_SCC_gov_2012_03 E4206_SCC_gov_2012_02 E4206_SCC_gov_2012_01 E4206_SCC_gov_2011_12 E4206_SCC_gov_2011_11 E4206_SCC_gov_2011_10 E4206_SCC_gov_2011_09 E4206_SCC_gov_2011_08

Data

Downloaded 2 times by MikeRalphson

To download data sign in with GitHub

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

rows 10 / 117

f l d
E4206_SCC_gov_2015_09
2015-11-25 18:46:30.396427
E4206_SCC_gov_2015_08
2015-11-25 18:46:32.168131
E4206_SCC_gov_2015_07
2015-11-25 18:46:35.437088
E4206_SCC_gov_2015_06
2015-11-25 18:46:38.475738
E4206_SCC_gov_2015_05
2015-11-25 18:46:40.496144
E4206_SCC_gov_2015_04
2015-11-25 18:46:42.817516
E4206_SCC_gov_2015_03
2015-11-25 18:46:45.999991
E4206_SCC_gov_2015_02
2015-11-25 18:46:49.896676
E4206_SCC_gov_2015_01
2015-11-25 18:46:53.018829
E4206_SCC_gov_2014_12
2015-11-25 18:46:55.819363

Statistics

Average successful run time: 3 minutes

Total run time: 10 minutes

Total cpu time used: less than 5 seconds

Total disk space used: 59.8 KB

History

  • Manually ran revision e39eab8f and completed successfully .
    59 records added, 59 records removed in the database
    60 pages scraped
  • Manually ran revision e39eab8f and completed successfully .
    59 records added in the database
    60 pages scraped
  • Manually ran revision 17323f3a and completed successfully .
    58 records added in the database
    59 pages scraped
  • Created on morph.io

Scraper code

Python

sp_E4206_SCC_gov / scraper.py